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

v15 backport: Solve RevertMigration.Comment read/write concurrency issue #13735

Merged

Conversation

shlomi-noach
Copy link
Contributor

@shlomi-noach shlomi-noach commented Aug 7, 2023

Manual backport of #13700

Description

In this PR we clone the RevertMigration.Comments map before iterating it. Thus, we solve an issue of concurrently reading/writing to same Comments map. See #13699 for details.

To be backported to all supported versions.

Related Issue(s)

Fixes #13699

Checklist

  • "Backport to:" labels have been added if this change should be back-ported
  • Tests were added or are not required
  • Did the new or modified tests pass consistently locally and on the CI
  • Documentation was added or is not required

Deployment Notes

…13700)

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach shlomi-noach added Type: Bug Backport This is a backport Component: Online DDL Online DDL (vitess/native/gh-ost/pt-osc) labels Aug 7, 2023
@shlomi-noach shlomi-noach requested a review from a team August 7, 2023 10:38
@github-actions github-actions bot added this to the v15.0.5 milestone Aug 7, 2023
@shlomi-noach shlomi-noach added Component: General Changes throughout the code base and removed Component: General Changes throughout the code base labels Aug 7, 2023
@shlomi-noach shlomi-noach merged commit 64fa0b1 into vitessio:release-15.0 Aug 7, 2023
@shlomi-noach shlomi-noach deleted the onlineddl-clone-comments-v15 branch August 7, 2023 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport This is a backport Component: Online DDL Online DDL (vitess/native/gh-ost/pt-osc) Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants