Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
| View Issue Details | ||||||||||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
| 0028360 | Openbravo ERP | 07. Sales management | public | 2014-12-09 08:57 | 2014-12-30 23:27 | |||||||||||||||||||||
| Reporter | alostale | |||||||||||||||||||||||||
| Assigned To | Sandrahuguet | |||||||||||||||||||||||||
| Priority | immediate | Severity | major | Reproducibility | have not tried | |||||||||||||||||||||
| Status | closed | Resolution | fixed | |||||||||||||||||||||||
| Platform | OS | 5 | OS Version | |||||||||||||||||||||||
| Product Version | ||||||||||||||||||||||||||
| Target Version | Fixed in Version | pi | ||||||||||||||||||||||||
| Merge Request Status | ||||||||||||||||||||||||||
| Review Assigned To | umartirena | |||||||||||||||||||||||||
| OBNetwork customer | OBPS | |||||||||||||||||||||||||
| Web browser | ||||||||||||||||||||||||||
| Modules | Core | |||||||||||||||||||||||||
| Support ticket | ||||||||||||||||||||||||||
| Regression level | Production - Confirmed Stable | |||||||||||||||||||||||||
| Regression date | 2012-06-18 | |||||||||||||||||||||||||
| Regression introduced in release | 3.0MP13 | |||||||||||||||||||||||||
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/3c283da21351 [^] | |||||||||||||||||||||||||
| Triggers an Emergency Pack | Yes | |||||||||||||||||||||||||
| Summary | 0028360: c_order_post creates unnecesary contention on m_pricelist | |||||||||||||||||||||||||
| Description | c_order_post procedure unnecessarily locks m_pricelist table (with a select for update). This, potentially, causes a big contention. Testing in postgresql, while completing an order it is not possible to do the following actions in parallel: Pg 9.2 * Create new Order with same price list * Create new Sales Invoice with same price list * Create new Order Line * Post another order * Post another invoice Pg 9.3 * Create new Order with same price list * Create new Sales Invoice with same price list * Post another order * Post another invoice Not tested in Oracle yet | |||||||||||||||||||||||||
| Steps To Reproduce | -Create a new Sales Order with lines (check its price list) -In a pg client (psql) run: begin select c_order_post1(null, (select c_order_id from c_order order by created desc limit 1), null); (Note session is intentionally kept open to simulate slowness) -Do the actions described in the description | |||||||||||||||||||||||||
| Proposed Solution | ||||||||||||||||||||||||||
| Additional Information | ||||||||||||||||||||||||||
| Tags | Performance | |||||||||||||||||||||||||
| Relationships |
| |||||||||||||||||||||||||
| Attached Files | ||||||||||||||||||||||||||
| Issue History | ||||||||||||||||||||||||||
| Date Modified | Username | Field | Change | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | New Issue | ||||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Assigned To | => dmiguelez | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | OBNetwork customer | => No | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Modules | => Core | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Regression level | => Production - Confirmed Stable | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Regression date | => 2012-06-18 | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Regression introduced in release | => 3.0MP13 | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Assigned To | dmiguelez => Sandrahuguet | |||||||||||||||||||||||
| 2014-12-09 08:57 | alostale | Tag Attached: Performance | ||||||||||||||||||||||||
| 2014-12-09 08:58 | alostale | Issue Monitored: alostale | ||||||||||||||||||||||||
| 2014-12-09 08:58 | alostale | OBNetwork customer | No => Yes | |||||||||||||||||||||||
| 2014-12-09 08:58 | alostale | Triggers an Emergency Pack | No => Yes | |||||||||||||||||||||||
| 2014-12-09 08:59 | alostale | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/3c283da21351 [^] | |||||||||||||||||||||||
| 2014-12-09 10:05 | alostale | Relationship added | related to 0028362 | |||||||||||||||||||||||
| 2014-12-09 12:30 | alostale | Relationship added | related to 0028363 | |||||||||||||||||||||||
| 2014-12-09 12:36 | alostale | Relationship added | related to 0028364 | |||||||||||||||||||||||
| 2014-12-10 10:21 | Sandrahuguet | Note Added: 0072377 | ||||||||||||||||||||||||
| 2014-12-10 10:30 | hgbot | Checkin | ||||||||||||||||||||||||
| 2014-12-10 10:30 | hgbot | Note Added: 0072379 | ||||||||||||||||||||||||
| 2014-12-10 10:30 | hgbot | Status | new => resolved | |||||||||||||||||||||||
| 2014-12-10 10:30 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
| 2014-12-10 10:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6b10d4a9385d322f75c127b007ddf8f49caa0439 [^] | |||||||||||||||||||||||
| 2014-12-10 13:56 | umartirena | Review Assigned To | => umartirena | |||||||||||||||||||||||
| 2014-12-10 13:56 | umartirena | Note Added: 0072397 | ||||||||||||||||||||||||
| 2014-12-10 13:56 | umartirena | Status | resolved => closed | |||||||||||||||||||||||
| 2014-12-10 13:56 | umartirena | Fixed in Version | => pi | |||||||||||||||||||||||
| 2014-12-30 23:27 | hudsonbot | Checkin | ||||||||||||||||||||||||
| 2014-12-30 23:27 | hudsonbot | Note Added: 0073201 | ||||||||||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||