Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053735Openbravo ERP04. Warehouse managementpublic2023-10-20 12:262024-01-29 12:40
ngarcia 
vmromanos 
urgentmajoralways
closedunable to reproduce 
5
 
 
vmromanos
Core
No
0053735: Sharelocks in M_STORAGE_DETAIL caused by UPDATE_M_STORAGE_DETAIL function with big amount of records
Sharelocks in M_STORAGE_DETAIL caused by UPDATE_M_STORAGE_DETAIL function with big amount of records
We need to have a environment with 1.5M records in M_STORAGE_DETAIL table
We need to have a high number of AWO tasks pending to be confirmed that call the M_MOVEMENTLINE_TRG

1) Start confirming the tasks (20/25 per minute)
2) Check sharelocks can be observed in Postgres log
3) The openbravo.log shows that Data Import Entries related to OBAWO_Task increase their duration
No tags attached.
Issue History
2023-10-20 12:26ngarciaNew Issue
2023-10-20 12:26ngarciaAssigned To => Triage Omni WMS
2023-10-20 12:26ngarciaModules => Core
2023-10-20 12:26ngarciaTriggers an Emergency Pack => No
2023-10-23 10:01malsasuaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27018#r27018
2023-10-24 09:18mtaalAssigned ToTriage Omni WMS => ludmila_ursu
2023-10-24 11:09ludmila_ursuNote Added: 0156225
2023-11-20 11:42mtaalNote Added: 0157337
2023-11-20 11:42mtaalStatusnew => feedback
2023-11-20 13:03mtaalAssigned Toludmila_ursu => mtaal
2024-01-05 11:30mtaalNote Added: 0158889
2024-01-29 12:38vmromanosStatusfeedback => scheduled
2024-01-29 12:38vmromanosAssigned Tomtaal => vmromanos
2024-01-29 12:40vmromanosReview Assigned To => vmromanos
2024-01-29 12:40vmromanosNote Added: 0159860
2024-01-29 12:40vmromanosStatusscheduled => closed
2024-01-29 12:40vmromanosResolutionopen => unable to reproduce

Notes
(0156225)
ludmila_ursu   
2023-10-24 11:09   
JIRA created: https://openbravo.atlassian.net/browse/RM-9047 [^]
(0157337)
mtaal   
2023-11-20 11:42   
Hello,
Thank the customer/partner for the extensive analysis. For now it seems normal behavior. For now we would advice the customer/partner to check with the cloud team to analyze the database and check if the database settings/config can be improved on system level.

grt. Martin
(0158889)
mtaal   
2024-01-05 11:30   
Update from Victor on 22nd December:
Asked to involve the partner and in parallel to send us the pgbadger to have more info to analyze.
(0159860)
vmromanos   
2024-01-29 12:40   
After applying the workaround to reduce the M_Storage_Detail size, the issue is not reproducible anymore.