Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0036291 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
design defect | [Openbravo ERP] A. Platform | minor | have not tried | 2017-06-20 10:43 | 2022-02-01 08:08 | ||||||
Reporter | alostale | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | 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 | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0036291: even not configured, RO pool uses a different pool instance | ||||||||||
Description | When OBDal.getReadOnlyInstance() is used to get the read only pool, even if read only pool is not configured, a new instance of pool is created. As consequence of this, read only queries are always performed in a different connection. | ||||||||||
Steps To Reproduce | 1. Install DB Pool log module 2. Configure Openbravo.properties to log threads borrowing more than one connection: db.pool.logger.enabled=true db.pool.logger.logMultipleConnectionsPerThread=true 3. Login -check Utility.getImageLogoObject uses two connections because it uses read only pool | ||||||||||
Proposed Solution | To decide whether this is the wanted behavior. Pros: it makes more consistent the behavior when read only pool is configured and when it is not, in both cases 2 independent connections are used. Cons: 2 connections are used when 1 might be enough | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2017-06-20 10:43 | alostale | New Issue | |
2017-06-20 10:43 | alostale | Assigned To | => platform |
2017-06-20 10:43 | alostale | Modules | => Core |
2017-06-20 10:43 | alostale | Triggers an Emergency Pack | => No |
2017-06-20 10:43 | alostale | Relationship added | related to 0034816 |
2017-06-20 10:44 | alostale | Status | new => acknowledged |
2017-06-20 10:45 | alostale | Relationship added | related to 0035855 |
2017-10-11 14:17 | caristu | Relationship added | related to 0037055 |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |