-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should not update uuid in old held leases #3
Comments
Hey @cjorba, Thanks for taking the time to open this issue, and sorry for the delay. I was a bit busy lately. I'll continue to update this ticket. |
Hi, sorry for the delay, |
I've created this Pull Request: #4 |
We've found issues when trying to update the lease with extra fields when it has been renewed by the renewer gorutine. Looking into it we've found that it is because the
concurrencyToken
is being updated (along with the wholeLease
struct) every time it is renewed.By comparing it with the base Java implementation I think the
concurrencyToken
should not change onRenew
, only inTake
.In the commit history we've seen you already had fixed this on commit 5737f37 yet you changed your mind on commit e663b4a; I was wondering if you could elaborate on why this last commit was needed.
If you need more info or want to comment about it please don't hesitate to contact me.
Greetings
The text was updated successfully, but these errors were encountered: