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

Change Feed Processor: Fixes noisy error notification when lease is stolen by other host #3124

Merged
merged 5 commits into from
Mar 31, 2022

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Mar 31, 2022

Description

During lease rebalancing, multiple hosts might try to acquire the same lease. Whoever acquires it first wins and the others get a LeaseLostException.

This LeaseLostException was getting sent through the Life Cycle Notifications and bubbled up to users unnecessarily, it is not an error or a condition they need to worry or act upon, but a normal flow of events based on the CFP design.

This PR removes the noisy notification and ensures NotifyRelease is called.

@ealsur ealsur enabled auto-merge (squash) March 31, 2022 14:53
@ealsur ealsur merged commit e4f2347 into master Mar 31, 2022
@ealsur ealsur deleted the users/ealsur/leaselostlog branch March 31, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ChangeFeed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants