Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036465
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] StoreServermajorhave not tried2017-07-11 17:072017-11-08 12:26
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in VersionRR18Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR17Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036465: Do not trigger or wait for synchronization/replication to happen in some case before returning to webpos

DescriptionIn Synchronized mode and multi-server environment we wait until the data is replicated from the central to the store server before returning to the store server.

In case the json has an error we don't need to do or wait for replication.

We don't need to wait on the store server for the replication either in this case. But as the logic is about to change anyway (see related issue). There is no need to make any further changes.
Steps To ReproduceInstall multi-server
Enable synchronized mode
Run webpos on the store server
Submit tickets
Check the wait time
Proposed SolutionDon't trigger replication in case of errors.

Changes to be done here [1]

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/51faaff177c0/src/org/openbravo/retail/storeserver/synchronization/MultiServerJSONSymmetricDSStarter.java#l52 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0098018)
hgbot (developer)
2017-07-11 17:09

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: b3de88bd8f098d85ec4968b200b9bc39683d744d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 11 17:08:37 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/b3de88bd8f098d85ec4968b200b9bc39683d744d [^]

Related to issue 36465: Do not wait for synchronization/replication to happen in some case before returning to webpos
Do not trigger sym-ds replication in case of errors

---
M src/org/openbravo/retail/storeserver/synchronization/MultiServerJSONSymmetricDSStarter.java
---
(0098036)
hgbot (developer)
2017-07-12 09:44

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 88cd56c1f373828bfcee09bb35c813bab67e62ea
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Jul 12 09:43:48 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/88cd56c1f373828bfcee09bb35c813bab67e62ea [^]

Related to issue 36465: Do not wait for synchronization/replication to happen in some case before returning to webpos
Solve failing store server build

---
M src/org/openbravo/retail/storeserver/synchronization/MultiServerJSONSymmetricDSStarter.java
---
(0100309)
mtaal (manager)
2017-11-07 15:14

Changes were done a long time ago. Since then have worked fine, setting the issue to resolved.
(0100344)
hgbot (developer)
2017-11-08 12:25

Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 7b7f373039517cc770230bf6f61d251a5eabe211
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Nov 08 12:22:36 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7b7f373039517cc770230bf6f61d251a5eabe211 [^]

Related with issue 36465: Extracts if statement to method

---
M src/org/openbravo/retail/storeserver/synchronization/MultiServerJSONSymmetricDSStarter.java
---
(0100345)
AugustoMauch (manager)
2017-11-08 12:26

Code reviewed and verified

- Issue History
Date Modified Username Field Change
2017-07-11 17:07 mtaal New Issue
2017-07-11 17:07 mtaal Assigned To => mtaal
2017-07-11 17:07 mtaal Triggers an Emergency Pack => No
2017-07-11 17:09 hgbot Checkin
2017-07-11 17:09 hgbot Note Added: 0098018
2017-07-12 09:44 hgbot Checkin
2017-07-12 09:44 hgbot Note Added: 0098036
2017-10-02 10:36 mtaal Summary Do not wait for synchronization/replication to happen in some case before returning to webpos => Do not trigger or wait for synchronization/replication to happen in some case before returning to webpos
2017-10-02 10:36 mtaal Description Updated View Revisions
2017-10-02 10:36 mtaal Proposed Solution updated
2017-10-02 10:38 mtaal Review Assigned To => AugustoMauch
2017-11-07 15:14 mtaal Status new => scheduled
2017-11-07 15:14 mtaal Note Added: 0100309
2017-11-07 15:14 mtaal Status scheduled => resolved
2017-11-07 15:14 mtaal Resolution open => fixed
2017-11-08 12:25 hgbot Checkin
2017-11-08 12:25 hgbot Note Added: 0100344
2017-11-08 12:26 AugustoMauch Note Added: 0100345
2017-11-08 12:26 AugustoMauch Status resolved => closed
2017-11-08 12:26 AugustoMauch Fixed in Version => RR18Q1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker