Skip to content

Backport v13+ CheckMySQL fixes in tabletserver state manager#50

Merged
timvaillancourt merged 2 commits intoslack-vitess-r12.0.5from
slack-vitess-r12.0.5-vttablet-crashes
Feb 22, 2023
Merged

Backport v13+ CheckMySQL fixes in tabletserver state manager#50
timvaillancourt merged 2 commits intoslack-vitess-r12.0.5from
slack-vitess-r12.0.5-vttablet-crashes

Conversation

@timvaillancourt
Copy link
Copy Markdown

Description

This PR backports the following 2 x PRs (from v13+) that should cause tablets with crashed mysqlds to become NOT_SERVING

PRs:

  1. Add Gauge For CheckMySQL Running vitessio/vitess#11524
  2. Fix CheckMySQL by setting the correct wanted state vitessio/vitess#11895
    • Depends on 1st PR

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

* feat: add gauge for checkMySQL running

Signed-off-by: Manan Gupta <manan@planetscale.com>

* feat: fix data race by converting bool to atomic bool

Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Manan Gupta <manan@planetscale.com>

Signed-off-by: Manan Gupta <manan@planetscale.com>
@timvaillancourt timvaillancourt merged commit 369729c into slack-vitess-r12.0.5 Feb 22, 2023
@timvaillancourt timvaillancourt deleted the slack-vitess-r12.0.5-vttablet-crashes branch February 22, 2023 23:49
@timvaillancourt timvaillancourt added v12 upstream-backport An upstream backport labels Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upstream-backport An upstream backport v12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants