Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037228Retail ModulesStoreServerpublic2017-11-06 10:422017-11-08 10:48
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
piRR18Q1 
AugustoMauch
No
0037228: Do not wait anymore for replication from central to store in synchronized process caller
Currently the store server waits for the central server to do replication from central to store for centralized processed data.

This means that the user has to wait also for cases when replication back to the store is not relevant for the user.

Therefore the idea is that no wait-for-replication should be done and that if Webpos retrieves information from the store server which is not there yet then it should search the central server.

See attached image.
Install multi-server
Enable synchronized mode
Create a ticket
See transaction popup
Disable/remove the method here [1]

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/421de0d299e9/src/org/openbravo/mobile/core/servercontroller/SynchronizedServerProcessCaller.java#l121 [^]
No tags attached.
has duplicate feature request 0036899 closed mtaal Remove afterreturnfromcentral logic in synchronized server process caller, less wait time for end user 
png before-after.png (249,533) 2017-11-06 11:34
https://issues.openbravo.com/file_download.php?file_id=11265&type=bug
png
Issue History
2017-11-06 10:42mtaalNew Issue
2017-11-06 10:42mtaalAssigned To => mtaal
2017-11-06 10:42mtaalTriggers an Emergency Pack => No
2017-11-06 11:34mtaalFile Added: before-after.png
2017-11-07 15:09mtaalStatusnew => acknowledged
2017-11-07 15:12mtaalNote Added: 0100308
2017-11-07 15:12mtaalReview Assigned To => AugustoMauch
2017-11-07 15:15mtaalRelationship addedhas duplicate 0036899
2017-11-08 08:55hgbotCheckin
2017-11-08 08:55hgbotNote Added: 0100326
2017-11-08 08:55hgbotStatusacknowledged => resolved
2017-11-08 08:55hgbotResolutionopen => fixed
2017-11-08 08:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d9a6eba0447d08509cc3525af6423dd641817f2 [^]
2017-11-08 10:48AugustoMauchNote Added: 0100334
2017-11-08 10:48AugustoMauchStatusresolved => closed
2017-11-08 10:48AugustoMauchFixed in Version => RR18Q1

Notes
(0100308)
mtaal   
2017-11-07 15:12   
Updated docs:
http://wiki.openbravo.com/wiki/Synchronized_Transactions_in_Multi-Server_Environments [^]
(0100326)
hgbot   
2017-11-08 08:55   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 0d9a6eba0447d08509cc3525af6423dd641817f2
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Nov 08 08:55:22 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0d9a6eba0447d08509cc3525af6423dd641817f2 [^]

Fixes issue 37228: Do not wait anymore for replication from central to store in synchronized process caller
Remove the wait for replication code

---
M src/org/openbravo/mobile/core/servercontroller/SynchronizedServerProcessCaller.java
---
(0100334)
AugustoMauch   
2017-11-08 10:48   
Code reviewed and verified