Skip to content

Backport #125899 to 26.10: Apply http_zlib_compression_level only to zlib-based HTTP compression - #126352

Merged
clickhouse-gh[bot] merged 2 commits into
26.10from
backport/26.10/125899
Oct 18, 2026
Merged

clickhouse-gh[bot] merged 2 commits into
26.10from
backport/26.10/125899

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #125899

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

@robot-ch-test-poll3 robot-ch-test-poll3 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 Oct 16, 2026
@clickhouse-gh

clickhouse-gh Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [3d7106c]

Summary: ✅

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged 26.10 to pull in #126289 (backport pinning the old server image of test_custom_s3_disk_remote_url_allow_hosts), which fixes the test_backward_compatibility failures.

@groeneai, investigate the failure: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=126352&sha=bdebfb368321f41f8ee3a6696a7fd958c9681703&name_0=BackportPR&name_1=Integration%20tests%20%28amd_tsan%2C%201%2F8%29 (test_modify_engine_on_restart, TSan data race in DataPartStorageOnDiskBase::rename) and provide a fix in a separate PR. It looks like it is covered by #125927 - please confirm and backport to 26.10 if so. It is unrelated to this backport (HTTP compression level).

@groeneai

Copy link
Copy Markdown
Collaborator

Confirmed, this is the race #125927 was written for. Write: DataPartStorageOnDiskBase::rename from forcefullyMovePartToDetachedAndRemoveFromMemory in restoreMetadataInZooKeeper (the restart that converts the table to replicated), under lockParts(). Read: getRelativePath from loadStatisticsPacked in the background refreshStatistics, which holds no parts lock since #124420. The assert '0' == '1100000' is a consequence: TSan stops the server mid-restore with the parts still in detached/.

But #125927 cannot reach 26.10 through the backport label: #120758 (merged 2026-10-16) removed refreshStatistics from master, which is also why #125927 now conflicts. Master is clean since then: 0 failures in 760 test_modify_engine_on_restart results on 20 master commits in amd_tsan.

26.10 has #124420 but not #120758, so it is the only release branch with the unlocked reader (26.6 to 26.9 still take readLockParts() above loadStatistics). I don't open PRs against release branches, so the 26.10 fix needs your hand. Which do you prefer: (a) revert #124420 on 26.10 (it puts its two readLockParts() calls back), or (b) v26.10-must-backport on #120758 (90 files)?

The open cherry-picks of #124420 to 26.7, 26.8 and 26.9 (#125184, #125185, #125186) would bring the same race to those branches if merged.

@clickhouse-gh
clickhouse-gh Bot merged commit 45c45c8 into 26.10 Oct 18, 2026
47 of 48 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.10/125899 branch October 18, 2026 09:57
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.

4 participants