Skip to content

Backport #117034 to 26.8: Keep Distributed spool files after transient split errors - #118141

Merged
clickhouse-gh[bot] merged 1 commit into
26.8from
backport/26.8/117034
Sep 4, 2026
Merged

clickhouse-gh[bot] merged 1 commit into
26.8from
backport/26.8/117034

Conversation

@robot-clickhouse

@robot-clickhouse robot-clickhouse commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

Original pull-request #117034

This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.

The PR source

The PR is created in the CI job

Version info

  • Merged into: 26.8.3.39

@robot-clickhouse robot-clickhouse added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Sep 4, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [91bacaf]

Summary: ✅

@zlareb1

zlareb1 commented Sep 4, 2026

Copy link
Copy Markdown
Member

This backport merged without a fix for #118153: after #117034, DistributedAsyncInsertBatch::recoverBatch deletes the surviving prefix of a split batch when a later file has a broken/ twin, destroying spool files that were never sent — and the pre-fix states that trigger it are exactly what 26.8 servers have on disk at the upgrade boundary. The 26.8 release branch now carries this. Please make sure the eventual fix for #118153 is also backported here, and consider holding #118138, #118139 and #118140 (26.3/26.6/26.7) until it exists — see #117034 (comment) for the details.

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

Labels

pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants