Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0042521 | 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 | Fixed in Version | 3.0PR20Q1 | |||||||||||||||||
| 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 | 0042521: 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-11 17:19 | salvador_campanella | New Issue | |||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | Assigned To | => Triage Finance | ||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | OBNetwork customer | => Gold | ||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | Modules | => Core | ||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | Support ticket | => 13607 | ||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | Resolution time | => 1577919600 | ||||||||||||||||
| 2019-12-11 17:19 | salvador_campanella | Triggers an Emergency Pack | => No | ||||||||||||||||
| 2019-12-11 18:05 | rafaroda | Issue Monitored: rafaroda | |||||||||||||||||
| 2019-12-12 08:37 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo | ||||||||||||||||
| 2019-12-12 09:27 | alostale | Issue Monitored: alostale | |||||||||||||||||
| 2019-12-12 13:16 | salvador_campanella | Note Added: 0116214 | |||||||||||||||||
| 2019-12-13 11:57 | AtulOpenbravo | Status | new => scheduled | ||||||||||||||||
| 2019-12-16 11:05 | dmiguelez | Note Added: 0116332 | |||||||||||||||||
| 2019-12-16 16:14 | martinsdan | Issue Monitored: martinsdan | |||||||||||||||||
| 2019-12-16 17:17 | AtulOpenbravo | Status | scheduled => acknowledged | ||||||||||||||||
| 2019-12-16 17:19 | AtulOpenbravo | Status | acknowledged => scheduled | ||||||||||||||||
| 2019-12-18 09:07 | Practics | Issue Monitored: Practics | |||||||||||||||||
| 2019-12-18 12:08 | hgbot | Checkin | |||||||||||||||||
| 2019-12-18 12:08 | hgbot | Note Added: 0116401 | |||||||||||||||||
| 2019-12-18 12:08 | hgbot | Status | scheduled => resolved | ||||||||||||||||
| 2019-12-18 12:08 | hgbot | Resolution | open => fixed | ||||||||||||||||
| 2019-12-18 12:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f385f3e597992614f8211006402af4e00920f0e7 [^] | ||||||||||||||||
| 2019-12-18 12:11 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||
| 2019-12-18 12:11 | dmiguelez | Note Added: 0116404 | |||||||||||||||||
| 2019-12-18 12:11 | dmiguelez | Status | resolved => closed | ||||||||||||||||
| 2019-12-18 12:11 | dmiguelez | Fixed in Version | => 3.0PR20Q1 | ||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||