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: Adds Task.Delay check to prevent stalling #3265

Merged
merged 12 commits into from
Jun 15, 2022

Conversation

imanvt
Copy link
Contributor

@imanvt imanvt commented Jun 13, 2022

Pull Request Template

Description

In some situations, the lease processor gets stuck, but the lease renewer keeps working. To prevent this situation from stalling indefinitely, this PR adds a linked cancellation token source to the cancellation token in order to cancel it after some time.

Type of change

  • New feature (non-breaking change which adds functionality)

Closing issues

closes #2466

@imanvt imanvt linked an issue Jun 13, 2022 that may be closed by this pull request
@imanvt imanvt marked this pull request as ready for review June 13, 2022 18:51
@imanvt imanvt requested a review from ealsur June 14, 2022 19:54
@imanvt imanvt requested a review from ealsur June 15, 2022 19:16
@ealsur ealsur enabled auto-merge (squash) June 15, 2022 19:25
@ealsur ealsur merged commit 11b7744 into master Jun 15, 2022
@ealsur ealsur deleted the users/imanvt/2466-cfp-stuck branch June 15, 2022 20:02
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.

Change Feed Processor: Add time bound guard to feed processing
2 participants