Skip to content

Fix mutation wait on mutation kill#24809

Merged
alesapin merged 1 commit intomasterfrom
fix_kill_mutation_wait
Jun 1, 2021
Merged

Fix mutation wait on mutation kill#24809
alesapin merged 1 commit intomasterfrom
fix_kill_mutation_wait

Conversation

@alesapin
Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix bug when exception Mutation was killed can be thrown to the client on mutation wait when mutation not loaded into memory yet.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label May 31, 2021
@alesapin
Copy link
Copy Markdown
Member Author

Fix flaky: 00652_replicated_mutations_zookeeper and 00834_kill_mutation.

@tavplubix tavplubix self-assigned this May 31, 2021
@alesapin
Copy link
Copy Markdown
Member Author

01414_freeze_does_not_prevent_alters Also have a bug with non replicated merge tree mutations....

@alesapin
Copy link
Copy Markdown
Member Author

alesapin commented Jun 1, 2021

2021.05.31 20:11:32.074243 [ 903528 ] {} <Error> test_27.dst_5 (ReplicatedMergeTreeQueue): Code: 49, e.displayText() = DB::Exception: Part 1_37_40_2 intersects next part 1_38_43_2. It is a bug., Stack trace (when copying this message, always include the lines below):

@alesapin
Copy link
Copy Markdown
Member Author

alesapin commented Jun 1, 2021

Ok, this fix is useful.

@alesapin alesapin merged commit b7c4f7d into master Jun 1, 2021
@alesapin alesapin deleted the fix_kill_mutation_wait branch June 1, 2021 07:37
alesapin added a commit that referenced this pull request Jun 2, 2021
Backport #24809 to 21.3: Fix mutation wait on mutation kill
alesapin added a commit that referenced this pull request Jun 2, 2021
Backport #24809 to 21.6: Fix mutation wait on mutation kill
alexey-milovidov added a commit that referenced this pull request Jun 4, 2021
Backport #24809 to 21.5: Fix mutation wait on mutation kill
alesapin added a commit that referenced this pull request Jun 4, 2021
Backport #24809 to 20.8: Fix mutation wait on mutation kill
@azat
Copy link
Copy Markdown
Member

azat commented Jun 6, 2021

01414_freeze_does_not_prevent_alters Also have a bug with non replicated merge tree mutations....

@alesapin #25025 should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants