Skip to content

Backport #131791 to 26.8: Reject repeated paths in a serialized value of JSON in aggregate states - #133058

Merged
nikitamikhaylov merged 3 commits into
26.8from
backport/26.8/131791
Nov 20, 2026
Merged

nikitamikhaylov merged 3 commits into
26.8from
backport/26.8/131791

Conversation

@robot-ch-test-poll4

@robot-ch-test-poll4 robot-ch-test-poll4 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #131791

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

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

clickhouse-gh Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [2bd6567]

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The Stress test (amd_tsan) failure (Cannot start clickhouse-server: Unknown disk server_test_... for table created) is unrelated to this backport: it comes from 05496_dynamic_disk_wrapper_of_server_credentials_disk in the 26.8 base, which leaves a table on a dynamic disk that cannot be resolved after restart. It is fixed on master by #131426 (merged today, not yet marked for backport to 26.8).

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 The Stress test (amd_tsan) failure (Cannot start clickhouse-server: Unknown disk server_test_... while attaching a Join table left by 05496_dynamic_disk_wrapper_of_server_credentials_disk) is unrelated to this backport: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=133058&sha=e0f3aa2d0fe6fe0bad0dfeccbc34081748cc8e5d&name_0=BackportPR&name_1=Stress%20test%20%28amd_tsan%29

It is fixed on master by #131426, which has not been backported to 26.8 yet. @groeneai, please backport #131426 to 26.8 (or link it here if already in progress).

I merged the latest 26.8 into this branch.

@groeneai

groeneai commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

I can't open a PR against a release branch or add labels here, so this needs v26.8-must-backport on #131426; no backport of it is in progress yet. Could you add the label? The robot will then create the cherry-pick.

It is clean: #131426 only touches 05496_dynamic_disk_wrapper_of_server_credentials_disk.sh, which is byte-identical on 26.8, 26.9, 26.10 and in the master parent of the merge. The same label also covers 26.9 and 26.10 (the robot backports to every newer active release too), which lack the fix as well; 26.10 already hit the same restart failure with the #130670 backport in place: https://s3.amazonaws.com/clickhouse-test-reports/json.html?REF=26.10&sha=3b53742a17feaa319b54ef6683160cd55488c772&name_0=ReleaseBranchCI&name_1=Stress%20test%20%28amd_debug%29 . 26.11 already has the fix.

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Status of the CI failures on 028918f. Neither is caused by this backport:

@groeneai, I added v26.8-must-backport to #131426 as you suggested.

@groeneai

Copy link
Copy Markdown
Collaborator

This is the teardown path that my #123638 fixed on master (merged 2026-10-03, so it is in 26.10 and newer). docker compose stop fails on hive with did not receive an exit event, the forced kill fallback then fails because hive has exited in the meantime (cannot kill container: b2448ffac8a0...: container ... is not running), and cluster.shutdown() raises from the module fixture. #123638 retries the forced kill; the retry lists only the containers that are still running. 26.8 and 26.9 do not have it: on 028918f the fallback at helpers/cluster.py:4401 is still a single run_and_check(self.base_cmd + ["kill"]).

CIDB, last 60 days: 4 failures with this exact stop+kill signature, all test_database_hms/test.py::test_check_database on 26.8 (2 runs of the 26.8 branch, 2 backport PRs including this one), and none on master since #123638 merged. It is the only failure in that job (1/853).

So no new PR is needed. Please add v26.8-must-backport to #123638: it is one hunk in tests/integration/helpers/cluster.py, and the retry helper it uses already exists on 26.8. As with #131426, that one label also gives the 26.9 backport.

@alexey-milovidov

Copy link
Copy Markdown
Member

🕵 Merged the latest 26.8 into this branch: it now includes both fixes for the earlier Stress test (amd_tsan) failures, #133157 (null dereference in conditionMayThrow) and #133160 (backport of #131426).

@groeneai, as you suggested, I added v26.8-must-backport to #123638 for the test_database_hms teardown failure.

@nikitamikhaylov
nikitamikhaylov merged commit 0cb5ac0 into 26.8 Nov 20, 2026
35 of 43 checks passed
@nikitamikhaylov
nikitamikhaylov deleted the backport/26.8/131791 branch November 20, 2026 13:17
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.

6 participants