You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConnectionPoolSupport suffers from a bug in which the connection proxy (that returns the connection back to the pool on .close()) gets into a closed state but is not able to recover from this state once a new connection is obtained from the pool.
As rule of thumb, don't use connection pooling. There are only very few use-cases that make sense for pooling.
If you still require connection pooling, then return your connection yourself to the pool with pool.returnObject(connection).
Connection pooling no longer pools proxies but wraps objects returned by the object pool. The proxy state is still invalidated which makes references to the proxy unusable once the connection is released back to the pool but the proxy instance it self is not pooled. Retrieval of the same connection will create a fresh proxy instance.
Connection pooling no longer pools proxies but wraps objects returned by the object pool. The proxy state is still invalidated which makes references to the proxy unusable once the connection is released back to the pool but the proxy instance it self is not pooled. Retrieval of the same connection will create a fresh proxy instance.
Connection pooling no longer pools proxies but wraps objects returned by the object pool. The proxy state is still invalidated which makes references to the proxy unusable once the connection is released back to the pool but the proxy instance it self is not pooled. Retrieval of the same connection will create a fresh proxy instance.
Hello, guys.
I'm trying to change Redis client library Jedis to Lettuce.
Major reason is that data read from the slave.
I rewrote the class for Jedis pooling. and then tested.
but Lettuce said an error like below.
Note.
I used two kind of redis settings. One is master-slave, the other one is redis cluster.
StatefulRedisClusterConnection is working fine.
So, I found some test cases for StatefulRedisMasterSlaveConnection in Lettuce codebase and then change test cases.
https://gist.github.com/krisjey/58f16d4792d606596a47b01a68c2eb3b
<script src="https://gist.github.com/krisjey/58f16d4792d606596a47b01a68c2eb3b.js"></script>But, Error is same.
Could you give me some clue?
The text was updated successfully, but these errors were encountered: