Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036111Retail ModulesStoreServerpublic2017-05-25 17:262017-06-05 12:25
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
RR17Q3 
mtaal
No
0036111: Support multithread in the export.store.data task
The export.store.data task exports to files all the tables configured to be synchronized. It could benefit from using multithread, now that it is supported by the ExportSampleData class. [1]

[1] https://code.openbravo.com/erp/devel/pi/rev/49ac427a0d66 [^]
-
No tags attached.
related to feature request 0035832 closed AugustoMauch Openbravo ERP Support using several threads to import and export the sample data 
Issue History
2017-05-25 17:26AugustoMauchNew Issue
2017-05-25 17:26AugustoMauchAssigned To => AugustoMauch
2017-05-25 17:26AugustoMauchTriggers an Emergency Pack => No
2017-05-25 17:27AugustoMauchRelationship addedrelated to 0035832
2017-05-25 17:55hgbotCheckin
2017-05-25 17:55hgbotNote Added: 0096818
2017-05-25 17:55hgbotStatusnew => resolved
2017-05-25 17:55hgbotResolutionopen => fixed
2017-05-25 17:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/2633ca49f5e8fe887107f3efec38d88a5e6433ad [^]
2017-06-05 12:09mtaalReview Assigned To => mtaal
2017-06-05 12:24mtaalNote Added: 0097127
2017-06-05 12:25mtaalNote Added: 0097128
2017-06-05 12:25mtaalStatusresolved => closed
2017-06-05 12:25mtaalFixed in Version => RR17Q3

Notes
(0096818)
hgbot   
2017-05-25 17:55   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 2633ca49f5e8fe887107f3efec38d88a5e6433ad
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu May 25 17:30:03 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/2633ca49f5e8fe887107f3efec38d88a5e6433ad [^]

Fixes issue 36111: export.store.data supports multithread

To define the number of threads, the max.threads parameter must be used, for instance:

ant export.store.data -DmobileServerKey=store1 -DoutputDirectory=/tmp/test -Dmax.threads=2

If the parameter is not defined, then half the number of available CPUs is used.

---
M build.xml
---
(0097127)
mtaal   
2017-06-05 12:24   
Added docs here:
http://wiki.openbravo.com/wiki/How_to_create_a_Store_Server#Export_data_from_the_central_server [^]
(0097128)
mtaal   
2017-06-05 12:25   
Reviewed