Skip to content

Backport #112839 to 26.3: Fix segfault and silent data corruption when appending a non-appendable format to a file - #113000

Merged
PedroTadim merged 2 commits into
26.3from
backport/26.3/112839
Aug 2, 2026
Merged

PedroTadim merged 2 commits into
26.3from
backport/26.3/112839

Conversation

@robot-clickhouse-ci-1

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #112839
Cherry-pick pull-request #112923

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.3.17.100

…n appending a non-appendable format to a file
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-critical-bugfix labels Aug 2, 2026
@clickhouse-gh

clickhouse-gh Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [63f6f5d]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_asan, distributed plan, parallel, 2/2) failure
04408_lazy_materialization_part_offset_prewhere FAIL cidb

@PedroTadim
PedroTadim merged commit b46c116 into 26.3 Aug 2, 2026
33 of 36 checks passed
@PedroTadim
PedroTadim deleted the backport/26.3/112839 branch August 2, 2026 16:02
bytehalo-infra added a commit to sentioxyz/ClickHouse that referenced this pull request Sep 25, 2026
PROTO: File/file() append in a non-appendable format (fd or partitioned path) -> crash plus corruption.
Effect in the production build a394e92: its upstream test(s) 04668_file_sink_no_append_format fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv).
Upstream patch unchanged, with its test(s): 04668_file_sink_no_append_format.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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