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

servenv: fix var shadowing caused by short variable declaration #7702

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

deepthi
Copy link
Member

@deepthi deepthi commented Mar 16, 2021

Description

In #7563, we fixed the panic reported in #7261. However, there is a bug in that PR, as reported by @yangxuanjia here.
This PR fixes that bug.
Tested manually that master vttablet shuts down when tablet record is deleted, using local_example (examples/local).

Related Issue(s)

#7261

Checklist

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

Deployment Notes

Impacted Areas in Vitess

Components that this PR will affect:

  • Query Serving
  • VReplication
  • Cluster Management
  • Build/CI
  • VTAdmin

Signed-off-by: deepthi <deepthi@planetscale.com>
@deepthi deepthi requested a review from sougou March 16, 2021 19:53
@deepthi deepthi merged commit 818c02e into vitessio:master Mar 16, 2021
@deepthi deepthi deleted the ds-fix-7563 branch March 16, 2021 21:26
@askdba askdba added this to the v10.0 milestone Mar 18, 2021
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.

3 participants