Skip to content

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

Merged
deepthi merged 1 commit intovitessio:masterfrom
tinyspeck:am_ers_bind_status_variable
Mar 16, 2021
Merged

[reparentutil | ERS] Bind status variable to each goroutine in WaitForRelayLogsToApply#7692
deepthi merged 1 commit intovitessio:masterfrom
tinyspeck:am_ers_bind_status_variable

Conversation

@ajm188
Copy link
Copy Markdown
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
Copy Markdown

@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
Copy Markdown
Collaborator

@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
Copy Markdown
Collaborator

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