New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
finally return resource jedis to pool #1895
Comments
Can you please attach the full Exception stack trace? |
|
@gkorland |
I tried to jedis-3.0.0-m1.jar. but, same result. Exception appeared again as above. |
@birdfe76 can you please check the following snapshot?
It might be related to this issue #1910 |
Expected behavior
As blow my code.
First of all, We closed once. but, sometime did not work. only appeared exception.
So we added code 'finally......' We want to return resource to pool surely.
Actual behavior
It doesn't work.
It made more exception. (message: Object has already been returned to this pool or is invalid)
We want to return resource to pool surely.
Can I check resource state whether the resource return to pool instead of 'resource.isConnected()' ?
Jedis version: jedis 2.7.3
Java version: 1.6
How about change jar file to jedis 2.9.0.jar ?
Is it working safety for returning resouce to pool ?
The text was updated successfully, but these errors were encountered: