You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible for Set() to succeed, and immediately the following call to Set() from a different goroutine to fail - modifying l.last to be nil. Which will then result in Unlock()not issuing a Delete call and so not unlocking.
The text was updated successfully, but these errors were encountered:
debedb
added a commit
to debedb/libkv
that referenced
this issue
Aug 3, 2017
Consider line 499:
l.last, err = l.client.Set(context.Background(), l.key, l.value, setOpts)
It is possible for
Set()
to succeed, and immediately the following call toSet()
from a different goroutine to fail - modifyingl.last
to benil
. Which will then result inUnlock()
not issuing a Delete call and so not unlocking.The text was updated successfully, but these errors were encountered: