Comments (1)
Before delivering a connection, the pool will check the status of the connection. The pool will deliver the connection only when the state of the connection is 'connected' (https://help.sap.com/viewer/0eec0d68141541d1b07893a39944924e/2.0.04/en-US/aeb50c109d19452ba6515a1fab515e5c.html). If the status is not 'connected', the related connection will be destroyed and moved out from the pool automatically (that specific request will be failed with CONNECTION_VALIDATION_ERROR).
According to your description, the status of the connection was 'connected' but actually the connection was not working (The pool will not know this).
So, I think:
- it's better to have a reproduce scenario.
- check with SAP about the connection.state( ), why connection.state() returns 'connected' but the connection actually doesn't work.
- for the pool, you can manually trigger pool.destroy(connection) to destroy a specific connection or pool.clear() to clear the entire pool.
from hdb-pool.
Related Issues (6)
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 hdb-pool.