Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0034860 | Retail Modules | StoreServer | public | 2017-01-07 12:28 | 2017-01-11 17:24 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | RR17Q2 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0034860: Improve fast/forced replication after a ticket has been send to the server | ||||
Description | There is specific code in the SynchronizedServerProcessCaller that waits for the ticket to be synchronized from the central to the store server [1]. Some store server test cases log an error when waiting more than 6 seconds for data to be replicated from central to store [2]. This can be caused by not enough threads being available [3]. Or maybe we should wait longer than the push/route interval times. gr. Martin [1] https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/7097e311033f/src/org/openbravo/mobile/core/servercontroller/SynchronizedServerProcessCaller.java#l121 [^] [2] https://ci.openbravo.com/view/storeserver/job/ret-ms-store1-pgsql/498/testReport/org.openbravo.test.mobile.retail.multiserver.selenium.tests.store1/MS001_SalesFlow/test/ [^] [3] https://github.com/JumpMind/symmetric-ds/blob/3.8/symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/PushService.java#L123 [^] | ||||
Steps To Reproduce | See the store server test environment | ||||
Proposed Solution | Change the default number of available threads to 3 for the push service. One thread is for the standard periodical run, the other 2 threads are then for instant pushing. Change the wait procedure so that it first tries 20 times waiting 300 millis and then wait 20 times waiting 600 millis each. This will be waiting 18 seconds which is 8 seconds more than the push interval. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-01-07 12:28 | mtaal | New Issue | |||
2017-01-07 12:28 | mtaal | Assigned To | => mtaal | ||
2017-01-07 12:28 | mtaal | Triggers an Emergency Pack | => No | ||
2017-01-07 12:54 | hgbot | Checkin | |||
2017-01-07 12:54 | hgbot | Note Added: 0093241 | |||
2017-01-07 12:55 | hgbot | Checkin | |||
2017-01-07 12:55 | hgbot | Note Added: 0093242 | |||
2017-01-07 13:00 | hgbot | Checkin | |||
2017-01-07 13:00 | hgbot | Note Added: 0093243 | |||
2017-01-11 11:25 | mtaal | Status | new => scheduled | ||
2017-01-11 11:25 | mtaal | Note Added: 0093341 | |||
2017-01-11 11:25 | mtaal | Status | scheduled => resolved | ||
2017-01-11 11:25 | mtaal | Resolution | open => fixed | ||
2017-01-11 11:25 | mtaal | Review Assigned To | => AugustoMauch | ||
2017-01-11 17:24 | AugustoMauch | Note Added: 0093369 | |||
2017-01-11 17:24 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|