Skip to content

Backport #117754 to 26.8: Split an oversized chunk across several Arrow record batches - #129239

Merged
clickhouse-gh[bot] merged 3 commits into
26.8from
backport/26.8/117754
Nov 7, 2026
Merged

clickhouse-gh[bot] merged 3 commits into
26.8from
backport/26.8/117754

Conversation

@robot-ch-test-poll2

Copy link
Copy Markdown
Contributor

Original pull-request #117754
Cherry-pick pull-request #128904

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

@robot-ch-test-poll2 robot-ch-test-poll2 added pr-backport Changes, backported to release branch. Do not use manually - automated use only! pr-bugfix Pull request with bugfix, not backported by default labels Nov 4, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [8a49c83]

Summary: ✅

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 @groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=129239&sha=ceee2cc88d1ee4ec457f67bb2448451e4558f591&name_0=BackportPR&name_1=Stress%20test%20%28amd_tsan%29 and provide a fix in a separate PR. If the fix is already in progress, link it here.

Cannot start clickhouse-server: after the stress run the server was restarted with start_server 10 at 14:57:44 and was still loading tables when the probe gave up at 14:59:38. It was not accepting connections and logged no fatal error. CIDB shows the same failure on many unrelated PRs in the last 30 days, both on master and 26.8 (for example #128412, #128223, #128991, #125415). This backport only changes Arrow output, so it is unrelated. I merged 26.8 into the branch (no overlap with the PR's files) to get a fresh CI run.

@groeneai

groeneai commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

The table it was still loading is test_w9p9x7u4t5i9.t_alter, left behind by the test 05361_statistics_refresh_does_not_block_drop (my #125165, backported to 26.8 in #125477). The test keeps its tables on an S3 disk throttled to 2 GET/s. When it does not reach its final DROP (the stress run ends first, or the runner's ignore_drop_queries_probability skips it), the restart loads the table's 28 parts through that disk: the main thread waits on that load job from 14:57:59, and the table is still issuing throttled GETs when the probe gives up at 14:59:38. #128991 failed the same way on the test's t_drop; 26.8 has hit this 7 times since 2026-10-21.

Master and 26.10 no longer have the test (#120758, #127254), so the fix is to delete it on 26.8 and 26.9. I can't open PRs against release branches, so the deletion (the two test files only, the same removal as on master) is in my fork:

The other examples have different causes: on #128223 and #125415 a fuzzed AzureBlobStorage table with partition_strategy = 'none' failed to re-attach, fixed by #122707 (merged after those runs), and #128412 fails at the first server start, before the stress run.

@clickhouse-gh
clickhouse-gh Bot merged commit b80af77 into 26.8 Nov 7, 2026
41 of 42 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.8/117754 branch November 7, 2026 01:14
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-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants