Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037699
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] StoreServerminorhave not tried2018-01-22 16:242018-10-17 09:52
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0037699: Connection leak if the Validate Store Server process is executed from the ERP using more than one thread

DescriptionThe 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0037611 closedAugustoMauch Store data validator background process leaves open connections 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker