diff options
author | Ben Bangert <ben@groovie.org> | 2012-06-06 15:32:36 -0700 |
---|---|---|
committer | Ben Bangert <ben@groovie.org> | 2012-06-06 15:32:36 -0700 |
commit | 92a46017ed91016ec7f284fef1bb12f7f13b878f (patch) | |
tree | c7056f2d11d6586f61ea27e9ff9e13352ea36b35 /kazoo/retry.py | |
parent | 8b476c66841f520725821c659d545abad1337cb2 (diff) | |
download | kazoo-92a46017ed91016ec7f284fef1bb12f7f13b878f.tar.gz |
Handle zkpython binding bugs properly for older versions of the lib.
Diffstat (limited to 'kazoo/retry.py')
-rw-r--r-- | kazoo/retry.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kazoo/retry.py b/kazoo/retry.py index b5a52a0..60381ce 100644 --- a/kazoo/retry.py +++ b/kazoo/retry.py @@ -1,6 +1,7 @@ from zookeeper import ( ClosingException, ConnectionLossException, + InvalidStateException, OperationTimeoutException, SessionExpiredException ) @@ -17,6 +18,12 @@ class KazooRetry(object): ConnectionLossException, OperationTimeoutException, SessionExpiredException, + + # Occurs when a command is run on a session handle that expired, if it + # manages to run exactly when it expired but before the handle was + # removed for reconnection + InvalidStateException, + ForceRetryError ) |