Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042004 | Retail Modules | Web POS | public | 2019-10-14 12:18 | 2019-11-14 11:18 |
|
Reporter | rafademiguel | |
Assigned To | ranjith_qualiantech_com | |
Priority | normal | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR20Q1 | |
Merge Request Status | |
Review Assigned To | marvintm |
OBNetwork customer | Gold |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0042004: Populate table obretco_productcategory causes problems with high concurrency |
Description | Table obretco_productcategory is populated via ProductListEventHandler.java. This feature was implemented in Issue 30553 for High Volumes. 6 month ago the feature was implemented also to standard WebPOS (not only High Volumes).
The problem appears with high concurrency. For example in an Asynch EDL Process that inserts records in obretco_prol_product. The ProductListEventHandler checks if the product category of the product inserted in obretco_prol_product is present in obretco_productcategory and if it doesn't exists then insert the product category in the table obretco_productcategory for that assortment.
With high concurrency asynchronous processes (running in parallel) two (or more) executions identify the category as missing at the same time and try to insert it at the same time. First one success but subsequent ones produces an: ERROR: duplicate key value violates unique constraint "obretco_productcategory_un" |
Steps To Reproduce | You need a process that insert records in obretco_prol_product in paralell with high concurrency. For example an EDL asynch process.
Then try to insert several products with a product category not present in the table obretco_productcategory for that assorment. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | feature request | 0030553 | RR15Q4 | closed | Sandrahuguet | High volume products: make reading product categories more efficient |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-10-14 12:18 | rafademiguel | New Issue | |
2019-10-14 12:18 | rafademiguel | Assigned To | => Retail |
2019-10-14 12:18 | rafademiguel | OBNetwork customer | => Gold |
2019-10-14 12:18 | rafademiguel | Triggers an Emergency Pack | => No |
2019-10-14 12:19 | rafademiguel | Relationship added | caused by 0030553 |
2019-10-14 12:24 | guillermogil | Resolution time | => 1572822000 |
2019-10-30 15:19 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-10-30 19:08 | ranjith_qualiantech_com | Status | new => scheduled |
2019-11-08 13:13 | hgbot | Checkin | |
2019-11-08 13:13 | hgbot | Note Added: 0115478 | |
2019-11-08 13:13 | hgbot | Status | scheduled => resolved |
2019-11-08 13:13 | hgbot | Resolution | open => fixed |
2019-11-08 13:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42c29a6aca5b046d753da006a66ddc89808b90ad [^] |
2019-11-12 16:14 | marvintm | Review Assigned To | => marvintm |
2019-11-12 16:14 | marvintm | Status | resolved => closed |
2019-11-12 16:14 | marvintm | Fixed in Version | => RR20Q1 |
2019-11-14 09:47 | ranjith_qualiantech_com | Note Added: 0115595 | |
2019-11-14 09:47 | ranjith_qualiantech_com | Status | closed => new |
2019-11-14 09:47 | ranjith_qualiantech_com | Resolution | fixed => open |
2019-11-14 09:47 | ranjith_qualiantech_com | Fixed in Version | RR20Q1 => |
2019-11-14 09:47 | ranjith_qualiantech_com | Status | new => scheduled |
2019-11-14 10:26 | hgbot | Checkin | |
2019-11-14 10:26 | hgbot | Note Added: 0115596 | |
2019-11-14 10:26 | hgbot | Status | scheduled => resolved |
2019-11-14 10:26 | hgbot | Resolution | open => fixed |
2019-11-14 10:26 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/42c29a6aca5b046d753da006a66ddc89808b90ad [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/45c5ddcea929bbe59d9f61f7be1891cd0499ace2 [^] |
2019-11-14 11:18 | marvintm | Status | resolved => closed |
2019-11-14 11:18 | marvintm | Fixed in Version | => RR20Q1 |