Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0037699 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Retail Modules] StoreServer | minor | have not tried | 2018-01-22 16:24 | 2018-10-17 09:52 | |||||||
Reporter | AugustoMauch | View Status | public | |||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037699: Connection leak if the Validate Store Server process is executed from the ERP using more than one thread | |||||||||||
Description | The validate store server can be executed: - Using the validate.store.data ant task (it is possible to specify the number of threads to use for the validation) - From the ERP, executing the Background Store Data validator process (1 thread is used for the validation) The current way of cleaning the database connections after the validation would leak connections if invoked from the ERP using more than 1 threads. Even though now that combination is not possible, the way the connections are closed should be improved to prevent leaks in the future. | |||||||||||
Steps To Reproduce | - Change this line [1], set the number of threads to use to 4 - Open the Process Request window - Schedule the Background Store Data validator process to be executed immediately - Check that some connections have been leaked [1] https://code.openbravo.com/erp/pmods/org.openbravo.replication.symmetricds/file/tip/src/org/openbravo/replication/symmetricds/process/BackgroundStoreDataValidator.java#l86 [^] | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2018-01-22 16:24 | AugustoMauch | New Issue | |
2018-01-22 16:24 | AugustoMauch | Assigned To | => StoreServer |
2018-01-22 16:24 | AugustoMauch | Triggers an Emergency Pack | => No |
2018-01-22 16:24 | AugustoMauch | Assigned To | StoreServer => AugustoMauch |
2018-01-22 16:25 | AugustoMauch | Relationship added | related to 0037611 |
2018-10-17 09:52 | AugustoMauch | Summary | Connection leak if the Validate Store Server process is executed from the ERP with using more than one thread => Connection leak if the Validate Store Server process is executed from the ERP using more than one thread |
Copyright © 2000 - 2009 MantisBT Group |