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:
Jenkins 2017-08-23 17:08:12 +00:00 committed by Gerrit Code Review
parent 2cddf83e02
commit 54d5682f33
1 changed files with 1 additions and 1 deletions

2
tooz

@ -1 +1 @@
Subproject commit 47ed0b9a9ef06b1c005af90f15a327ae393223a6
Subproject commit 29ec8eb26addf83877be54ff9ea90e6873043620