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
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: https://docs.openstack.org/developer/tooz
- Source: http://git.openstack.org/cgit/openstack/tooz
- Bugs: https://bugs.launchpad.net/python-tooz/
Join us
Description
Languages
Python
99.2%
Shell
0.8%