Openbravo Issue Tracking System - Modules
View Issue Details
0029177ModulesWarehouse Pickingpublic2015-03-06 15:362015-04-24 11:27
egoitz 
eduardo_Argal 
immediatemajorhave not tried
closedfixed 
5
 
 
umartirena
0029177: The sequence for picking list on ad_sequence table is locked while the picking list process is executed
When starting tjhe picking list process a picking list document is created and when saving it the sequence for picking list on the ad_sequence table is locked.
That is locked until the process finish.

The same happens with the sequence for m_inout table becuase a shipment also is created on the begining of the processOrder method.

That is causing performance problems due to contention on the ad_sequence table.
-Execute the process for a order with thousends of lines.
See that the process takes long and that the sequence is locked until it finishes.
Performance
related to defect 0029131 closed eduardo_Argal Modules Bad performance and degradation on the execution on the generate picking list process 
related to defect 0027160 closed eduardo_Argal Openbravo ERP C_Order_Post poor performance 
Issue History
2015-03-06 15:36egoitzNew Issue
2015-03-06 15:36egoitzAssigned To => naiaramartinez
2015-03-06 15:36egoitzResolution time => 1425855600
2015-03-06 15:36egoitzRelationship addedrelated to 0029131
2015-03-06 15:36egoitzRelationship addedrelated to 0027160
2015-03-06 15:39egoitzTag Attached: Performance
2015-03-06 15:39egoitzAssigned Tonaiaramartinez => eduardo_Argal
2015-04-24 11:26umartirenaStatusnew => scheduled
2015-04-24 11:27umartirenaNote Added: 0076740
2015-04-24 11:27umartirenaStatusscheduled => resolved
2015-04-24 11:27umartirenaResolutionopen => fixed
2015-04-24 11:27umartirenaReview Assigned To => umartirena
2015-04-24 11:27umartirenaNote Added: 0076741
2015-04-24 11:27umartirenaStatusresolved => closed

Notes
(0076740)
umartirena   
2015-04-24 11:27   
Issue resolved by this commits:

https://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/e8a78f938850 [^]

https://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/346fac4a867b [^]
(0076741)
umartirena   
2015-04-24 11:27   
Code Review + Testing OK