Comments (5)
Thanks,
So basically your point / problem is: recycleConnectionIfPossible should not give up after an exception, but rather iterate over the remainder of the pool.
Correct?
from transactions-essentials.
Yes, Correct. I would go one step back and consider the connection to be not eligible for recycling, as the connections that are marked as erroneous cannot be recycled as per the code.
from transactions-essentials.
OK thanks - created a feature request for this. I am closing this issue for now - re-open if you disagree?
from transactions-essentials.
HI Guy,
I came across this thread and the description is very close to what we have been experiencing with our application. Similar to what @rmaheedharan has experienced, we see this behavior when we have database blocks. When we have a long block that doesn't clear on it's own, we sometimes allow a dba to terminate a session to clear the block. At first it seems as if everything clears up. Other blocked transactions flow through and the issue looks to clear up. However, in cases where a process continues to run, we will start to see the connection pool grow rapidly until we exhaust a pool configured to have 400 max connections.
This seems likely related and when it occurs, our only recourse is to restart the application. Would you not consider this to be a legitimate and somewhat nasty bug instead of a feature request?
from transactions-essentials.
Hi @lewisdavidcole - thanks for the feedback.
I would consider it more of an efficiency enhancement, but I can add a "bug" label if you prefer.
However, your description sounds like there are other problems (i.e., long DB blocks). Are you using XA or non-XA for that?
Let me know...
Thanks
from transactions-essentials.
Related Issues (20)
- Connection pool exhausted - try increasing 'maxPoolSize' and/or 'borrowConnectionTimeout' on the DataSourceBean. HOT 2
- Does Atomikos support DB connections via Kerberos?
- Atomikos transaction management issue - Errors during recovery
- Support for hibernate 6 HOT 6
- AtomikosConnectionFactoryBean extra connection outside connection-pool HOT 1
- Spring Boot + Transaction Essentials 6.0.0 M2 can hang on shutdown when included but unused HOT 3
- java.util.ConcurrentModificationException on close session with debug trace log level enabled HOT 1
- I am unable to see the logs been written to tmlog file. The file is being is created and transaction management is working fine. HOT 1
- I am unable to see the logs been written to tmlog file. The file is being is created and transaction management is working fine. HOT 1
- OTel support built-in. HOT 4
- Interposed Synchronizations are not executed in case of a rollback HOT 5
- cascadeList is lost on complex callbacks
- In Kubernetes environments the LogFileLock acquiring might fail HOT 1
- Add support for connection-INIT-SQL property HOT 3
- Support for Feign and FeignClients HOT 5
- Atomikos, JaVers, and Hibernate
- Support LRCO / Last Resource Gambit in XA Transaction with Two-Phase Commit HOT 1
- A simple select sql with γThe transaction has timed outγ Exception? I do not find the reason. HOT 4
- Cannot invoke a rollback operation when the AutoCommit mode is set to "true" in tomcat-8.5.14 HOT 4
- Concerns upgrading Atomikos version from 3.9.x to 6.0.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transactions-essentials.