22797c7185
With randomized keys, if the connection goes down, but the session remains, the client would need complicated recovery logic to avoid deadlock. Instead, bind the session's lease id to the lock entry; if a session tries to reacquire the lock it will reassume its old place in the wait list. |
||
---|---|---|
.. | ||
doc.go | ||
election.go | ||
key.go | ||
mutex.go | ||
session.go | ||
stm.go |