Skip to content
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

decrement expectedNumberOfClientsSendingRenews for expired leases #1271

Merged
merged 1 commit into from
Jan 27, 2020

Conversation

snowp
Copy link
Contributor

@snowp snowp commented Jan 20, 2020

Moves the logic that decrements the expected number of clients into
internalCancel - this should ensure that we're calling it both for
explicit cancels as well as well as when the instance lease expires.

Fixes #1266

Moves the logic that decrements the expected number of clients into
cancelInternal - this should ensure that we're calling it both for
explict cancels as well as well as when the instance lease expires.

Fixes Netflix#1266
@snowp
Copy link
Contributor Author

snowp commented Jan 20, 2020

I couldn't find any existing test coverage for this, happy to add some if ya'll have any pointers to where to start

@troshko111 troshko111 merged commit cefadab into Netflix:master Jan 27, 2020
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.

Where to update the "expectedNumberOfClientsSendingRenews" when we evict a instance?
2 participants