Skip to content

Backport #118360 to 26.3: Require the local privilege for KILL and SYSTEM statements over ON CLUSTER - #122038

Merged
PedroTadim merged 2 commits into
26.3from
backport/26.3/118360
Sep 25, 2026
Merged

PedroTadim merged 2 commits into
26.3from
backport/26.3/118360

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Original pull-request #118360
Cherry-pick pull-request #122013

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

@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 Sep 24, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [93af768]

Summary: ✅

@groeneai

Copy link
Copy Markdown
Collaborator

Context on the single red check here, since #118360 is mine and I am an assignee: Stress test (amd_tsan) aborts the server on the new 05082_kill_and_system_on_cluster_access_types.sh, and the cause is not in this backport.

KILL PART_MOVE_TO_SHARD runs a SELECT over system.part_moves_between_shards, which reaches PartMovesBetweenShardsOrchestrator::getEntries(). That method got its Coordination::setCurrentComponent guard in #101462, merged 2026-04-08, and 26.3 was cut 2026-03-19, so 26.3 is the only active branch without it. tests/config/install.sh:328 enables enforce_keeper_component_tracking unconditionally in CI, so the unguarded Keeper read raises LOGICAL_ERROR and the sanitizer build aborts:

https://github.com/ClickHouse/ClickHouse/actions/runs/36027584268/job/107756108610

So this check should stay red until #101462 reaches 26.3. I have asked for the v26.3-must-backport label there: #101462 (comment)

26.7, 26.8 and 26.9 already contain the guard, which is why only the 26.3 backport trips on it.

@PedroTadim
PedroTadim merged commit a4492dd into 26.3 Sep 25, 2026
36 checks passed
@PedroTadim
PedroTadim deleted the backport/26.3/118360 branch September 25, 2026 15:18
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