Skip to content

Fix deadlock in delete mutations when predicate contains table itself#21477

Merged
alexey-milovidov merged 1 commit intomasterfrom
fix_mutation_deadlock
Mar 5, 2021
Merged

Fix deadlock in delete mutations when predicate contains table itself#21477
alexey-milovidov merged 1 commit intomasterfrom
fix_mutation_deadlock

Conversation

@alesapin
Copy link
Copy Markdown
Member

@alesapin alesapin commented Mar 5, 2021

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 a deadlock in ALTER DELETE mutations for non replicated MergeTree table engines when the predicate contains the table itself. Fixes #20558.

@alesapin alesapin added the pr-bugfix Pull request with bugfix, not backported by default label Mar 5, 2021
@alexey-milovidov alexey-milovidov self-assigned this Mar 5, 2021
@alexey-milovidov alexey-milovidov merged commit af2135e into master Mar 5, 2021
@alexey-milovidov alexey-milovidov deleted the fix_mutation_deadlock branch March 5, 2021 23:08
robot-clickhouse pushed a commit that referenced this pull request Mar 6, 2021
robot-clickhouse pushed a commit that referenced this pull request Mar 6, 2021
robot-clickhouse pushed a commit that referenced this pull request Mar 6, 2021
robot-clickhouse pushed a commit that referenced this pull request Mar 6, 2021
alesapin added a commit that referenced this pull request Mar 9, 2021
Backport #21477 to 20.12: Fix deadlock in delete mutations when predicate contains table itself
alesapin added a commit that referenced this pull request Mar 9, 2021
Backport #21477 to 21.2: Fix deadlock in delete mutations when predicate contains table itself
alesapin added a commit that referenced this pull request Mar 9, 2021
Backport #21477 to 21.1: Fix deadlock in delete mutations when predicate contains table itself
robot-clickhouse pushed a commit that referenced this pull request Mar 9, 2021
alesapin added a commit that referenced this pull request Mar 30, 2021
Backport #21477 to 20.8: Fix deadlock in delete mutations when predicate contains table itself
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.

21.X Deadlock in mutations referencing the same table in subquery

2 participants