components-contrib icon indicating copy to clipboard operation
components-contrib copied to clipboard

Distributed Lock components' code doesn't reflect renaming on UnlockResponse.Status

Open tmacam opened this issue 2 years ago • 0 comments

PR dapr/dapr#4989 (issue dapr/dapr#4988) updated the names of some enums in UnlockResponse.Status ProtoBuff definition:

  • LOCK_UNEXIST became LOCK_DOES_NOT_EXIST
  • LOCK_BELONG_TO_OTHERS became LOCK_BELONGS_TO_OTHERS

Code implementing Distributed Lock component in components-contrib needs to be updated to account for this modification.

This modification should not cause any change in over-the-wire encoding but will cause problems when regenerating language-dependent code from those definitions.

Notice: The Distributed Lock API is an Alpha version and is subject to change. As such, I am unsure of the need to have this added to this SDK Release notes.

tmacam avatar Aug 09 '22 23:08 tmacam