Skip to content

Backport #116992 to 26.7: Do not read the compressed-buffer slack as LZ4 literal data - #118249

Merged
clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/116992
Sep 6, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.7from
backport/26.7/116992

Conversation

@robot-ch-test-poll

@robot-ch-test-poll robot-ch-test-poll commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #116992

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

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

clickhouse-gh Bot commented Sep 5, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [16884bd]

Summary: ✅

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The only red on 48afe629 was Docker server image: the arm64 clickhouse/clickhouse-server build stalled in apt-get update against us-east-1.ec2.ports.ubuntu.com (the 2026-09-05 in-region mirror outage) and sat there until the 5-hour job timeout, with no E: line at all — https://s3.amazonaws.com/clickhouse-test-reports/PRs/118249/48afe62935b963f8792e407b8bae228a0950fb71/docker_server_image/job.log. Unrelated to the LZ4 change; the four changed files are byte-identical to master.

Merged 26.7 into the branch to get a fresh run. Master bounds each buildx invocation via BUILDX_TIMEOUT in ci/jobs/docker_server.py (#113869), which would have retried this instead of hanging, but that guard is not on 26.7/26.6/26.3 yet — I added the v26.7/26.6/26.3-must-backport labels to #113869 so the robot backports it. @groeneai, please shepherd those backports if they need manual conflict resolution.

@groeneai

groeneai commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

26.7 came out clean: #118330 is mergeable (the unstable there is just CI in flight), so nothing on that one needs me.

26.6 and 26.3 both conflict, identically: 5 hunks, all in ci/jobs/docker_server.py. The 602-line test file applies clean, since it has no counterpart on either branch. Every conflict has an empty "ours" side, because that file is 469 lines on both branches against master's 629: they predate #108969 and #108986, which added the buildx retry allowlist, and they also predate the apt_mirror_region parameter.

Two of the five are only adjacency, where my sw and job_timeout arguments sit next to apt_mirror_region. The other three are a real dependency: #113869 does BUILDX_RETRY_ERRORS += [BUILDX_TIMEOUT_MESSAGE, BUILDX_TIMEOUT_KILL_DIAG] and sizes its attempt count off BUILDX_RETRIES, and the timeout sentinel entering that allowlist is exactly what turns an expiry into a retry rather than a failed job. Resolving those by taking my side would land #108969 and #108986 on 26.6 and 26.3 as a side effect, so I would rather you decide that than have me do it quietly.

My suggestion is to label #108969 and #108986 v26.3-must-backport first. Both touch only ci/jobs/docker_server.py, and neither has ever carried a backport label or had a cherry-pick closed, so nothing was declined earlier. Once the allowlist is on both branches, these two cherry-picks want re-creating, since their bases are frozen snapshots of the branch tips and their own bodies carry the recipe; what is then left is the apt_mirror_region adjacency, which I can resolve.

The alternative is a bound-only port with no retry. That converts the 5-hour hang into a hard failure at the bound rather than a recovered build, and it needs the test changed too, since the test imports BUILDX_RETRIES and BUILDX_RETRY_ERRORS. I will do that instead if you prefer, but I am not touching either cherry-pick until you pick one.

@clickhouse-gh
clickhouse-gh Bot merged commit be58953 into 26.7 Sep 6, 2026
38 of 39 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.7/116992 branch September 6, 2026 00:22
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.

5 participants