Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0042573 | Openbravo ERP | I. Performance | public | 2019-12-11 17:19 | 2019-12-18 12:11 | |||||||
Reporter | salvador_campanella | |||||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | urgent | Severity | critical | Reproducibility | sometimes | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | pi | |||||||||||
Target Version | 3.0PR19Q4.1 | Fixed in Version | 3.0PR19Q4.1 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | dmiguelez | |||||||||||
OBNetwork customer | Gold | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 13607 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0042573: The m_explodebomnotstock function creates locks in m_pricelist table causing big performance problems | |||||||||||
Description | The m_explodebomnotstock function creates locks in m_pricelist table causing big performance problems Extract of Postgres log ----------------------- 2019-12-09 10:30:15 CST 2019-12-09 09:56:43 CST 19347 11/3630307 2777469593 LOG: process 19347 acquired ShareLock on transaction 2777459601 after 1013158.638 ms 2019-12-09 10:30:15 CST 2019-12-09 09:56:43 CST 19347 11/3630307 2777469593 CONTEXT: while locking tuple (534,3) in relation "m_pricelist" SQL statement "SELECT C_ORDER.c_order_id, C_ORDER.c_bpartner_id, c_order.M_PriceList_ID, c_orderline.explode FROM C_ORDER JOIN m_pricelist ON c_order.m_pricelist_id = m_pricelist.m_pricelist_id JOIN c_orderline ON c_order.c_order_id = c_orderline.c_order_id WHERE c_orderline.c_orderline_id=v_Record_ID FOR UPDATE" PL/pgSQL function m_explodebomnotstock(character varying,character varying) line 73 at SQL statement SQL statement "SELECT M_EXPLODEBOMNOTSTOCK(null, CUR_BOM_Line.c_orderline_ID)" PL/pgSQL function c_order_post1(character varying,character varying,character varying) line 1176 at PERFORM SQL statement "SELECT C_ORDER_POST1($1, $2, 'Y')" PL/pgSQL function c_order_post1(character varying,character varying) line 3 at PERFORM SQL statement "SELECT C_ORDER_POST1(p_PInstance_ID, NULL)" PL/pgSQL function c_order_post(character varying) line 17 at PERFORM | |||||||||||
Steps To Reproduce | n/a | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-12-16 17:19 | AtulOpenbravo | Type | defect => backport | |||||||||
2019-12-16 17:19 | AtulOpenbravo | Target Version | => 3.0PR19Q4.1 | |||||||||
2019-12-16 17:19 | AtulOpenbravo | Note Added: 0116360 | ||||||||||
2019-12-18 12:07 | hgbot | Checkin | ||||||||||
2019-12-18 12:07 | hgbot | Note Added: 0116397 | ||||||||||
2019-12-18 12:07 | hgbot | Status | scheduled => resolved | |||||||||
2019-12-18 12:07 | hgbot | Resolution | open => fixed | |||||||||
2019-12-18 12:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR19Q4.1/rev/41b7178a6bd7d9d0e32e1b0f49096473e82f3fa5 [^] | |||||||||
2019-12-18 12:11 | dmiguelez | Review Assigned To | => dmiguelez | |||||||||
2019-12-18 12:11 | dmiguelez | Note Added: 0116403 | ||||||||||
2019-12-18 12:11 | dmiguelez | Status | resolved => closed | |||||||||
2019-12-18 12:11 | dmiguelez | Fixed in Version | => 3.0PR19Q4.1 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|