kazoo
kazoo copied to clipboard
Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
I have created root znode ‘zookeeper’ in the zookeeper server and there is a child ‘master’ which has many sub childs worker-1, worker-2, ..Worker-n. To synchronize the operations, I am...
Hi , After my application run 5 month , xid reach 2147483647 , I get the error like this: 2016-08-22 11:12:35,210 - kazoo.client - ERROR - Unhandled exception in connection...
It seems the `KazooClient.start` is not thread safe. The calling from two concurrent threads or greenlets may cause infinite blocking inside the `_safe_close` method. The `self._connection.stop` will wait for the...
I'm working with the partitioner recipe and have seen some issues in production with the partitioner getting stuck in state "allocating". The debug logs show kazoo repeatedly attempting to acquire...
Is there a specific reason for `KazooTimeoutError` inheriting directly from `Exception` instead of from `KazooException`?
For example, when you get a NoNodeError, all we see is `NoNodeError((), {})`, when `NoNodeError("/path/to/node")` would be much more useful. This is because exceptions are handled in a completely generic...
We are using the lock recipe for millions of objects so we have to create a unique lock name for each object. Since the lock recipe does not delete the...
I am using the `Lock` recipe and am having trouble recovering from lost connections to Zookeeper as any call to `acquire_lock` after the connection is recovered hangs. The steps I...
In _connect_attempt(), the "while not close_connection:" loop sometimes loops forever, pausing about 7 seconds between each loop. I can reproduce this, usually within 5 minutes, in a three-node zookeeper cluster...
**Flake8 complaints:** ``` kazoo/testing/harness.py:94:80: E501 line too long (86 > 79 characters) kazoo/testing/harness.py:98:80: E501 line too long (81 > 79 characters) kazoo/tests/test_lease.py:42:80: E501 line too long (93 > 79 characters)...