ryanlecompte/redis_failover — pull request #39 by tsilen (2012-10-09 09:38:46+00:00)
Title: Catch some zk and zookeeper errors

Hi there,

I've been getting exceptions like these in fetch_nodes sometimes:

Zookeeper::Exceptions::NotConnected: connection state is closed
Zookeeper::Exceptions::NotConnected: connection state is associating
ZK::Exceptions::OperationTimeOut

Thought it would make sense to catch them and retry, what do you think?