Closed mauricio closed 11 years ago
When an exception that includes ZK::Exceptions::InterruptedSession happens (as Zookeeper::Exceptions::NotConnected) you need to reopen the client instead of just retrying since retrying on a closed connection will just make it happen again.
ZK::Exceptions::InterruptedSession
Zookeeper::Exceptions::NotConnected
Awesome, thanks! You're totally right.
Just released redis_failover 1.0.2 with these changes. Thanks!
When an exception that includes
ZK::Exceptions::InterruptedSession
happens (asZookeeper::Exceptions::NotConnected
) you need to reopen the client instead of just retrying since retrying on a closed connection will just make it happen again.