52c0eed5e6
In lock's context manager we are not checking that acquire returns true before entering managed code. Even though we don't except acquire to return False, we should still confirm that the lock has been really acquired and we can proceed, and raise an exception if it failed. This patch modified metaclass Lock to raise new exception LockAcquireFailed if it didn't acquire the lock. Change-Id: I6d6f14ffd9ea10dd1ca203a92c987334e8a00416 |
||
---|---|---|
doc/source | ||
examples | ||
tools | ||
tooz | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
run-examples.sh | ||
setup-memcached-env.sh | ||
setup-mysql-env.sh | ||
setup-postgresql-env.sh | ||
setup-redis-env.sh | ||
setup-sentinel-env.sh | ||
setup-zookeeper-env.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Tooz
The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/tooz
- Source: http://git.openstack.org/cgit/openstack/tooz
- Bugs: http://bugs.launchpad.net/python-tooz/