Skip to content

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

Merged
deepthi merged 1 commit intovitessio:masterfrom
planetscale:ds-fix-7563
Mar 16, 2021
Merged

servenv: fix var shadowing caused by short variable declaration#7702
deepthi merged 1 commit intovitessio:masterfrom
planetscale:ds-fix-7563

Conversation

@deepthi
Copy link
Collaborator

@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