Coordinate distributed systems.
Go to file
Gorka Eguileor 52c0eed5e6 Raise exception on failed lock's CM acquire fail
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
2015-07-30 19:02:29 +02:00
doc/source Update compatibility matrix due to file drivers new abilities 2015-06-27 09:46:54 -07:00
examples doc: switch examples to Zake 2014-11-18 15:39:05 +01:00
tools Update compatibility matrix due to file drivers new abilities 2015-06-27 09:46:54 -07:00
tooz Raise exception on failed lock's CM acquire fail 2015-07-30 19:02:29 +02:00
.gitignore Update .gitignore 2015-07-17 13:24:59 +02:00
.gitreview Fix .gitreview after rename/transfer 2014-12-06 19:27:17 +03:00
.testr.conf First commit of Tooz 2013-12-19 12:18:35 +01:00
LICENSE First commit of Tooz 2013-12-19 12:18:35 +01:00
README.rst Switch badges from 'pypip.in' to 'shields.io' 2015-06-11 20:44:26 -07:00
requirements.txt Use futurist to allow for executor providing and unifying 2015-07-20 19:38:18 -07:00
run-examples.sh Have examples run in the py27 environment and make them work 2014-09-19 11:57:56 -07:00
setup-memcached-env.sh tests: remove check_port 2014-12-01 15:00:47 +01:00
setup-mysql-env.sh fix mysql driver url parsing 2015-03-16 06:16:27 -07:00
setup-postgresql-env.sh tests: remove check_port 2014-12-01 15:00:47 +01:00
setup-redis-env.sh tests: remove check_port 2014-12-01 15:00:47 +01:00
setup-sentinel-env.sh Update sentinel support to allow multiple sentinel hosts 2015-01-12 14:18:53 +00:00
setup-zookeeper-env.sh tests: remove check_port 2014-12-01 15:00:47 +01:00
setup.cfg Remove 2.6 classifier 2015-06-18 15:51:19 -07:00
setup.py Updated from global requirements 2015-07-15 01:38:34 +00:00
test-requirements.txt Updated from global requirements 2015-07-26 17:35:01 +00:00
tox.ini Fixup dependencies. 2015-07-15 20:41:22 +12:00

README.rst

Tooz

Latest Version

Downloads

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.

Join us