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
{{ message }}
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
Currently there is no override of the releaseLock method exposed in the KV client that allows the user to preserve the existing value in the KV store.
The existing method does not take a value parameter, causing the underlying PUT API call to overwrite whatever value is currently in the store with an empty string.
The acquireLock method does expose such a method, so a fix would be to mimic that behaviour.
To reproduce the issue
Add a value to the KV store, by any method.
Call the acquireLock(String, String) library method on the key in question.
Observe the value being overwritten to "".
I could probably make a PR for this, if the maintainers are busy :)