Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040882Retail ModulesStoreServerpublic2019-05-15 10:302019-05-16 00:00
AugustoMauch 
AugustoMauch 
normalmajorhave not tried
closedfixed 
5
 
 
mtaal
No
0040882: When a store server is started for the first time, it should start in online mode
When a store server is started for the first time, most probably it will have a sizeable amount of data pending to be synchronized from the central server.

When this delta is big enough (usually > 5 minutes old), there is a mechanism that prevents store servers from going offline. But this mechanism is not used if the store server is already offline in the first place.

Because of this, when a store server is deployed for the first time, it should start with the ONLINE status
In a multiserver environment:
- Create a new store server by adding it to the Mobile Server window in the central server. The status of this store server will be offline.
- Export the store server. The Mobile Server entry with status offline will be export
- Deploy and start the new store server. It will start with offline status
No tags attached.
Issue History
2019-05-15 10:30AugustoMauchNew Issue
2019-05-15 10:30AugustoMauchAssigned To => AugustoMauch
2019-05-15 10:30AugustoMauchTriggers an Emergency Pack => No
2019-05-15 10:59hgbotCheckin
2019-05-15 10:59hgbotNote Added: 0111689
2019-05-15 10:59hgbotStatusnew => resolved
2019-05-15 10:59hgbotResolutionopen => fixed
2019-05-15 10:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/ab0995eabf44c187a063815d88063cce74261d93 [^]
2019-05-15 10:59AugustoMauchReview Assigned To => mtaal
2019-05-16 00:00mtaalNote Added: 0111697
2019-05-16 00:00mtaalStatusresolved => closed

Notes
(0111689)
hgbot   
2019-05-15 10:59   
Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: ab0995eabf44c187a063815d88063cce74261d93
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 15 10:59:07 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/ab0995eabf44c187a063815d88063cce74261d93 [^]

Fixes issue 40882: First time SS is deployed, its status should be ONLINE

The current changeset ensures that when a store server is deployed for the first time, its status
will be ONLINE. This will prevent stores working with store servers in OFFLINE mode that have a lot
of data pending to be synchronized.

---
M src/org/openbravo/replication/symmetricds/SetupSymmetricListener.java
---
(0111697)
mtaal   
2019-05-16 00:00   
Tested and reviewed