Skip to content

Backport #126176 to 26.10: Do not correct the global memory tracker below jemalloc stats.allocated - #131836

Merged
clickhouse-gh[bot] merged 2 commits into
26.10from
backport/26.10/126176
Nov 19, 2026
Merged

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

Conversation

@robot-clickhouse-ci-1

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #126176

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

@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-backport Changes, backported to release branch. Do not use manually - automated use only! label Nov 15, 2026
@clickhouse-gh

clickhouse-gh Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [47e40df]

Summary: ✅

@alexey-milovidov

Copy link
Copy Markdown
Member

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

The server fails to restart in the stress test with Name of the wrapped disk must not be empty. Encrypted disk is a wrapper over another disk: Disk __tmp_internal_...: Cannot parse definition from metadata file .../created__fuzz_81.sql. That is, a table created by the fuzzer with an inline encrypted disk stores a definition that cannot be loaded again. This is unrelated to this backport, which changes only the MemoryWorker correction of the memory tracker. The same failure appears on master in CIDB (2026-11-10 to 2026-11-14, Stress test (amd_tsan), (arm_asan_ubsan), (arm_release), (arm_msan), including PRs 130541, 128413, 130814, 115722).

@groeneai

Copy link
Copy Markdown
Collaborator

The fix is #130670 (test-only, merged into master on 2026-11-11), backported to 26.10 as #132152 (merged 2026-11-16). The failing run is on 67668681, which does not contain #132152. Your merge of 26.10 at 47e40df8 does, so the new Stress run should not hit this.

created__fuzz_81 is the stress AST fuzzer's copy of a CREATE in 05496_dynamic_disk_wrapper_of_server_credentials_disk whose disk is encrypted over disk = 'from_zk <path>/wrapped'. The test ends with rmr '${ZK_PATH}', so after the restart the copy's wrapped disk name resolves to an empty string and the table cannot be loaded. #130670 runs the test's clients with --ast_fuzzer_any_query=0 --ignore_drop_queries_probability=0.

The master rows (PRs 130541, 115722, 128413, 130814) are all from PR workflows created before #130670 merged; the latest, for 130814, was created at 2026-11-11 18:27Z and #130670 merged at 19:06Z. The 2026-11-14 rows are 26.10 and 26.8 release-branch runs from before the backports. In CIDB, this PR's 2026-11-15 run is the last one with this error.

@clickhouse-gh
clickhouse-gh Bot merged commit e19b3c0 into 26.10 Nov 19, 2026
51 of 52 checks passed
@clickhouse-gh
clickhouse-gh Bot deleted the backport/26.10/126176 branch November 19, 2026 02:02
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!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants