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

[reparentutil | ERS] Bind status variable to each goroutine in WaitForRelayLogsToApply #7692

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

ajm188
Copy link
Contributor

@ajm188 ajm188 commented Mar 16, 2021

Closes #7691.

Signed-off-by: Andrew Mason amason@slack-corp.com

Description

Pretty much what it says in the issue description. We're binding that status variable on each iteration to the goroutine we're spawning to prevent potentially telling tablet A to wait for tablet B's StopPosition.

Related Issue(s)

Checklist

Deployment Notes

Impacted Areas in Vitess

Components that this PR will affect:

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

…rRelayLogsToApply

Closes vitessio#7691.

Signed-off-by: Andrew Mason <amason@slack-corp.com>
Copy link

@setassociative setassociative left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@deepthi deepthi added this to the v10.0 milestone Mar 16, 2021
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deepthi
Copy link
Member

deepthi commented Mar 16, 2021

10.0 isn't out yet, so no backport is required.

@deepthi deepthi merged commit 5feb957 into vitessio:master Mar 16, 2021
@ajm188 ajm188 deleted the am_ers_bind_status_variable branch May 29, 2021 10:25
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.

[reparentutil | ERS] Unbound variable referenced in closure in loop
4 participants