portworx / kvdb

Generic Key-Value interface
Apache License 2.0
40 stars 12 forks source link

PWX-37961: stop refreshing the lock unconditionally in kvdb.Unlock() #131

Closed pureneelesh closed 1 month ago

pureneelesh commented 1 month ago

What this PR does / why we need it: If the caller has asked us to Unlock the key, we can safely stop refreshing the lock even if we could not delete the key in kvdb. The lock will expire automatically.

Which issue(s) this PR fixes (optional) PWX-37961

Special notes for your reviewer: