Update git submodules
* Update tooz from branch 'master' to 1e86b9103584ce4360633df8e9c536a559a1f79b - Merge "Fix inappropriate logic in memcachedlock.release()" - Fix inappropriate logic in memcachedlock.release() Whether 'was_deleted' was 'TRUE' or not, eventually we have to remove self from '_acquired_locks'. For example: 1. App #1 with coordinator 'A' wants to release lock "b" 2. 'self.coord.client.delete()' failed for some reason(.e.g, BrokenPipeError,MemcacheUnexpectedCloseError) 3. According to the former logic,lock "b" will not remove from "_acquired_locks", so "self.heartbeat()" will make it alive forever until App #1 was down or lock "b" turned expired. 4. Now App #1 with coordinator 'A' wants to acquire lock "c", who have the same lock-name with lock "b",It is clear that this will fail and prevent the locked program from continuing to execute. Change-Id: I6fc33b8e0a88510027bcfc30d1504489d2a91b4e
This commit is contained in:
parent
d54c907b6e
commit
caee66ece8
2
tooz
2
tooz
|
@ -1 +1 @@
|
|||
Subproject commit e3de0e634af62e46162eb8d2354416ce4f2ba77c
|
||||
Subproject commit 1e86b9103584ce4360633df8e9c536a559a1f79b
|
Loading…
Reference in New Issue