Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040875 | Retail Modules | StoreServer | public | 2019-05-14 14:43 | 2019-05-20 11:50 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040875: When sync fails because of version difference between central and store server, synchronization should not be stopped |
Description | When there is a synchronization error from the central server to a store server, the synchronization from the central server to that store server is stopped automatically, to prevent sending the same invalid date over and over again.
The problem is that sometimes it makes sense to keep sending the data, because the synchronization error will be solved automatically. This is the case when the synchronization error is caused by version differences between the central and the store server.
In that case the central server should keep resending the outgoing batches. |
Steps To Reproduce | - |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-05-14 14:43 | AugustoMauch | New Issue | |
2019-05-14 14:43 | AugustoMauch | Assigned To | => AugustoMauch |
2019-05-14 14:43 | AugustoMauch | Triggers an Emergency Pack | => No |
2019-05-15 09:43 | hgbot | Checkin | |
2019-05-15 09:43 | hgbot | Note Added: 0111686 | |
2019-05-15 09:55 | hgbot | Checkin | |
2019-05-15 09:55 | hgbot | Note Added: 0111687 | |
2019-05-15 09:55 | hgbot | Status | new => resolved |
2019-05-15 09:55 | hgbot | Resolution | open => fixed |
2019-05-15 09:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/5e74e9de04d92aae1d829b4fe46dd4a611785540 [^] |
2019-05-15 09:55 | AugustoMauch | Review Assigned To | => mtaal |
2019-05-16 11:00 | mtaal | Note Added: 0111712 | |
2019-05-16 11:00 | mtaal | Status | resolved => new |
2019-05-16 11:00 | mtaal | Resolution | fixed => open |
2019-05-16 16:45 | hgbot | Checkin | |
2019-05-16 16:45 | hgbot | Note Added: 0111725 | |
2019-05-16 16:45 | hgbot | Status | new => resolved |
2019-05-16 16:45 | hgbot | Resolution | open => fixed |
2019-05-16 16:45 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/5e74e9de04d92aae1d829b4fe46dd4a611785540 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/d1fdb754a48835fa6b29643c659414044bb9dcf2 [^] |
2019-05-16 16:48 | AugustoMauch | Note Edited: 0111725 | bug_revision_view_page.php?bugnote_id=0111725#r18785 |
2019-05-20 11:50 | mtaal | Note Added: 0111798 | |
2019-05-20 11:50 | mtaal | Status | resolved => closed |
Notes |
|
(0111686)
|
hgbot
|
2019-05-15 09:43
|
|
|
|
(0111687)
|
hgbot
|
2019-05-15 09:55
|
|
Repository: erp/pmods/org.openbravo.replication.symmetricds
Changeset: 5e74e9de04d92aae1d829b4fe46dd4a611785540
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed May 15 09:53:43 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/5e74e9de04d92aae1d829b4fe46dd4a611785540 [^]
Fixes issue 40875: Synch errors caused by version different dont stop synch
In this changeset [1], a change was introduced to automatically stop sending batches to a server
if a synchronization error is repeated several times. This was done because usually to fix a
sync error human intervention is needed, so it is pointless to keep sending the same data until
then.
But there is a case when the sync error will be automatically solved: when it is caused by version
difference. Now that case is taken into account, and the synchronization will not be automatically
stopped.
[1] https://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/rev/21181284ff5b [^]
---
M src/org/openbravo/replication/symmetricds/extensions/SynchronizationErrorAcknowledger.java
---
|
|
|
(0111712)
|
mtaal
|
2019-05-16 11:00
|
|
Also add priority change of channel for version info |
|
|
(0111725)
|
hgbot
|
2019-05-16 16:45
(edited on: 2019-05-16 16:48) |
|
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: d1fdb754a48835fa6b29643c659414044bb9dcf2
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 16 16:45:33 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/d1fdb754a48835fa6b29643c659414044bb9dcf2 [^]
Fixes issue 40875: Assigns a higher priority to mobile server channel
Now the mobile server channel has a higher priority than the Store Data channel. This way, when
there is an upgrade, the update module info will be synchronized even if there is a lot of data
pending to be synchronized on the Store Data channel.
Remember to execute the update.symmetric.ds.configuration task in the org.openbravo.replication.symmetricds module to update symmetricds configuration.
---
M src-db/database/sourcedata/STRSYNC_SYNCH_CHANNEL.xml
---
|
|
|
(0111798)
|
mtaal
|
2019-05-20 11:50
|
|
|