Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0053779 | Openbravo ERP | A. Platform | public | 2023-10-26 14:07 | 2023-10-27 11:04 | |||||||
Reporter | caristu | |||||||||||
Assigned To | caristu | |||||||||||
Priority | high | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | PR23Q4 | Fixed in Version | PR23Q4 | |||||||||
Merge Request Status | approved | |||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | Packaging and release | |||||||||||
Regression date | 2023-08-21 | |||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053779: RO pool is not closed by IE threads | |||||||||||
Description | If the process executed by an Import Entry makes use of the RO pool, then the transactions of that pool are never closed. | |||||||||||
Steps To Reproduce | 1) Configure the RO pool 2) In the "External System" window, create a new external system 3) In the "Event Subscription" window, create an event subscription for the "Resend Orders" event and for the external system created in step 2). Note that being a multiple record event, the RO pool is used by default to get the data. 4) Trigger the event doing (see attached patch): SynchronizationEvent.getInstance() .triggerEvent("API_ResendOrders", Map.of("orders", List.of("E1987F8E432041BD9F81D3DD29D6D4CB"))); 5) In database, run: select count(*) from pg_stat_activity where state ilike '%in transaction%'; Note that the count of "idle in transaction" connections is increased every time the event is triggered | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-10-26 18:08 | caristu | Type | defect => backport | |||||||||
2023-10-26 18:08 | caristu | Target Version | => PR23Q4 | |||||||||
2023-10-26 18:15 | hgbot | Note Added: 0156413 | ||||||||||
2023-10-27 08:48 | hgbot | Merge Request Status | open => approved | |||||||||
2023-10-27 08:48 | hgbot | Note Added: 0156436 | ||||||||||
2023-10-27 11:03 | alostale | Note Added: 0156444 | ||||||||||
2023-10-27 11:04 | alostale | Status | scheduled => resolved | |||||||||
2023-10-27 11:04 | alostale | Fixed in Version | => PR23Q4 | |||||||||
2023-10-27 11:04 | alostale | Fixed in SCM revision | => https://gitlab.com/openbravo/product/openbravo/-/commit/bb1afc38f7ba4919b7f534de3015576e98368547 [^] | |||||||||
2023-10-27 11:04 | alostale | Resolution | open => fixed | |||||||||
2023-10-27 11:04 | alostale | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|