Skip to content

fix(renewer) Don't update concurrencyToken on renew. Do update lastRenew on renew#4

Open
cjorba wants to merge 1 commit intoa8m:masterfrom
cjorba:fix/should-not-update-uuid-in-old-held-leases
Open

fix(renewer) Don't update concurrencyToken on renew. Do update lastRenew on renew#4
cjorba wants to merge 1 commit intoa8m:masterfrom
cjorba:fix/should-not-update-uuid-in-old-held-leases

Conversation

@cjorba
Copy link

@cjorba cjorba commented Jan 3, 2018

Fix: Renewer concurrencyToken was being updated on renewal and it should not be

  • Don't update lease.concurrencyToken on renew if it was already held by the lease.
  • Do update lease.lastRenew on renew along with the lease.Counter

This change is required as described in issue #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant