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

Backport #9842: TabletManager: Check for context cancellation in loop within ChangeTabletType() #10035

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

rohit-nayak-ps
Copy link
Contributor

@rohit-nayak-ps rohit-nayak-ps commented Apr 4, 2022

Description

There is currently the possibility of an infinite loop inside ChangeTabletType() because we don't check for context cancellation inside an active polling loop. This PR adds the check.

Related Issue(s)

Original PR: #9842
#9838

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@deepthi deepthi merged commit 2665baf into vitessio:release-13.0 Apr 4, 2022
@deepthi deepthi deleted the backport-9842 branch April 4, 2022 22:09
@frouioui frouioui mentioned this pull request Apr 7, 2022
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants