Updated openstack/openstack
Project: openstack/tooz 29ec8eb26addf83877be54ff9ea90e6873043620 redis: always remove lock from acquired lock when release()ing The failure scenarios where LockError is raised is either: - Lock is not locked. Then it should not be in _acquired_locks, so discard should be a no-op. - Token changed. That can happen if the lock timed-out (and somebody else grabbed it). Then the lock is not longer owned anyway so let's remove it. If releasing the lock fails, there's no way heartbeat will work anyway. So just remove the lock from acquired locks and let it die anyway. Change-Id: I44db39e83db7e6c0f17079584e49c8de34b51ce1
This commit is contained in:
parent
2cddf83e02
commit
54d5682f33
2
tooz
2
tooz
|
@ -1 +1 @@
|
|||
Subproject commit 47ed0b9a9ef06b1c005af90f15a327ae393223a6
|
||||
Subproject commit 29ec8eb26addf83877be54ff9ea90e6873043620
|
Loading…
Reference in New Issue