Coordinate distributed systems.
Go to file
Julien Danjou ee66b6e4e4 {my,pg}sql: close connections when out of retry
The connection is supposedly closed when blocking is False and the lock is not
acquired. Or when an exception happens in the locking code.

But if blocking is e.g. 5 seconds, then RetryError is raised but without
closing any connection at the end. This fixes that.

Change-Id: I7b40e466fe5fc01ee3f8c012f765aafca9ce716a
2017-06-16 11:40:42 +00:00
doc/source doc: update heartbeat doc to use start_heart=True 2017-04-27 16:40:57 +02:00
examples doc: update heartbeat doc to use start_heart=True 2017-04-27 16:40:57 +02:00
releasenotes Update reno for stable/ocata 2017-01-20 19:16:28 +00:00
tools [doc] Note lack of constraints is a choice 2016-12-22 09:49:10 +11:00
tooz {my,pg}sql: close connections when out of retry 2017-06-16 11:40:42 +00:00
.coveragerc Add standard code coverage configuration file 2015-10-02 09:09:41 -04:00
.gitignore Add reno for release notes management 2016-11-03 15:09:51 +08:00
.gitreview Fix .gitreview after rename/transfer 2014-12-06 19:27:17 +03:00
.testr.conf Enable OS_LOG_CAPTURE so that logs can be seen (on error) 2016-02-08 14:58:22 -08:00
CONTRIBUTING.rst Add CONTRIBUTING.rst 2016-11-18 16:44:36 +08:00
LICENSE First commit of Tooz 2013-12-19 12:18:35 +01:00
README.rst http->https for security 2017-04-19 19:10:58 -07:00
bindep.txt Install only needed packages 2016-09-22 10:20:50 +02:00
requirements.txt Replace retrying with tenacity 2016-11-24 10:25:52 +01:00
run-examples.sh Have examples run in the py27 environment and make them work 2014-09-19 11:57:56 -07:00
run-tests.sh tests: tests fail if no URL is set + run partitioner tests on basic drivers 2017-03-28 18:29:47 +02:00
setup-consul-env.sh Use pifpaf to setup daemons 2016-06-09 10:40:16 +02:00
setup-etcd-env.sh Switch tests to use latest etcd - 3.1.3 2017-03-14 15:17:42 +00:00
setup.cfg Separate etcd3gw driver that uses the etcd3 grpc gateway 2017-05-22 14:33:44 +02:00
setup.py Updated from global requirements 2015-09-17 12:17:45 +00:00
tox.ini Factorize tox envlist for better readability 2017-06-08 09:27:38 +02: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