tooz/tooz
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
..
drivers {my,pg}sql: close connections when out of retry 2017-06-16 11:40:42 +00:00
tests Disable test_get_lock_serial_locking_two_lock_process for etcd3 2017-06-12 17:00:35 +02:00
__init__.py Move ToozError to root module 2016-12-07 23:40:35 +01:00
_retry.py coordinator: add join_group_create 2016-11-24 10:25:52 +01:00
coordination.py coordination: factorize common async result futures code 2017-05-09 21:30:33 -04:00
hashring.py simplify hashring node lookup 2017-04-02 17:45:30 +00:00
locking.py Add shared filelock 2017-03-21 11:27:24 +08:00
partitioner.py get weight of existing members 2017-03-27 14:38:25 +00:00
utils.py Stop making tooz.utils depending on tooz.coordination 2017-01-01 18:47:16 +01:00