Skip to content

Stop merges without written blocks - #77766

Merged
nikitamikhaylov merged 1 commit into
masterfrom
stop-merges-without-written-blocks
Mar 18, 2025
Merged

nikitamikhaylov merged 1 commit into
masterfrom
stop-merges-without-written-blocks

Conversation

@antaljanosbenjamin

Copy link
Copy Markdown
Member

Changelog category (leave one):

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

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

Regularly check if merges and mutations were cancelled even in case when the operation doesn't produce any blocks to write.

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

cc @alesapin

@clickhouse-gh

clickhouse-gh Bot commented Mar 17, 2025

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [aa4747d]

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Mar 17, 2025
@alexkats alexkats self-assigned this Mar 17, 2025

@alexkats alexkats left a comment

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.

Do you think it's feasible (and makes sense) to write a test for such a situation?

@antaljanosbenjamin

Copy link
Copy Markdown
Member Author

Do you think it's feasible (and makes sense) to write a test for such a situation?

I think yes, because I would like to write some. I just pushed this yesterday to do a quick CI run to see if it breaks anything.

@alesapin alesapin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@nikitamikhaylov nikitamikhaylov added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Mar 18, 2025
@nikitamikhaylov
nikitamikhaylov added this pull request to the merge queue Mar 18, 2025
Merged via the queue into master with commit d48f794 Mar 18, 2025
@nikitamikhaylov
nikitamikhaylov deleted the stop-merges-without-written-blocks branch March 18, 2025 12:58
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 18, 2025
robot-ch-test-poll3 added a commit that referenced this pull request Mar 18, 2025
Backport #77766 to 25.1: Stop merges without written blocks
@robot-clickhouse-ci-2 robot-clickhouse-ci-2 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Mar 19, 2025
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-backports-created-cloud deprecated label, NOOP label Mar 19, 2025
antaljanosbenjamin added a commit that referenced this pull request Mar 19, 2025
Backport #77766 to 25.3: Stop merges without written blocks
@filimonov filimonov mentioned this pull request Apr 1, 2025
filimonov added a commit to filimonov/ClickHouse that referenced this pull request Apr 4, 2025
nikitamikhaylov added a commit that referenced this pull request Apr 7, 2025
Backport #77766 to 25.2: Stop merges without written blocks
Enmk added a commit to Altinity/ClickHouse that referenced this pull request May 15, 2025
…s_without_written_blocks

24.3 Backport of ClickHouse#77766 and ClickHouse#59138 - Stop merges without written blocks / Fix REPLACE PARTITION waiting for mutations/merges on unrelated partitions
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jul 2, 2025
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-backports-created-cloud deprecated label, NOOP pr-bugfix Pull request with bugfix, not backported by default pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants