Skip to content

Remove wrong code for skipping mutations in MergeTree#40589

Merged
tavplubix merged 4 commits intomasterfrom
remove_wrong_code_from_mutations
Aug 29, 2022
Merged

Remove wrong code for skipping mutations in MergeTree#40589
tavplubix merged 4 commits intomasterfrom
remove_wrong_code_from_mutations

Conversation

@tavplubix
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in official stable or prestable release)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Removed skipping of mutations in unaffected partitions of MergeTree tables, because this feature never worked correctly and might cause resurrection of finished mutations.

Initially introduced in #21326, but there's no way it could work correctly. It's not clear how to fix it, so let's just remove.
cc: @excitoon

@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-bugfix Pull request with bugfix, not backported by default label Aug 24, 2022
@tavplubix
Copy link
Copy Markdown
Member Author

Stateless tests (thread) [3/3] - #40660
Stress test (address) - OOM in BC check :(

@tavplubix tavplubix merged commit 8d90d30 into master Aug 29, 2022
@tavplubix tavplubix deleted the remove_wrong_code_from_mutations branch August 29, 2022 11:19
has_mutations = !current_mutations_by_version.empty();
}

if ((!mutate_entry && has_mutations) || were_some_mutations_skipped)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was probably wrong thing.

robot-clickhouse pushed a commit that referenced this pull request Oct 19, 2022
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Oct 19, 2022
tavplubix added a commit that referenced this pull request Oct 20, 2022
Backport #40589 to 22.8: Remove wrong code for skipping mutations in MergeTree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore 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