Skip to content

v17 backport: Fix closed channel panic in Online DDL cutover#13731

Merged
shlomi-noach merged 3 commits intovitessio:release-17.0from
planetscale:fix-close-rename-chan-v17
Aug 8, 2023
Merged

v17 backport: Fix closed channel panic in Online DDL cutover#13731
shlomi-noach merged 3 commits intovitessio:release-17.0from
planetscale:fix-close-rename-chan-v17

Conversation

@shlomi-noach
Copy link
Contributor

Manual backport of #13729

For some reason the backport bot did not run.

Description

Closing a channel should be owned by the writer to the channel. This PR fixes a closed channel panic, described in #13728.

Related discussion in golang google group: https://groups.google.com/g/golang-nuts/c/_Q6FCjWIr18/m/Wb_NlyusRL8J?pli=1

Related Issue(s)

#13728

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

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 05:55
@shlomi-noach shlomi-noach modified the milestone: v17.0.2 Aug 7, 2023
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@frouioui frouioui added this to the v17.0.2 milestone Aug 7, 2023
@rohit-nayak-ps rohit-nayak-ps reopened this Aug 8, 2023
@shlomi-noach shlomi-noach merged commit 1c55138 into vitessio:release-17.0 Aug 8, 2023
@shlomi-noach shlomi-noach deleted the fix-close-rename-chan-v17 branch August 8, 2023 09:57
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