Skip to content

Cherry pick #99138 to 26.4: Dynamic disk restricting settings - #104827

Merged
robot-ch-test-poll merged 27 commits into
backport/26.4/99138from
cherrypick/26.4/99138
May 13, 2026
Merged

robot-ch-test-poll merged 27 commits into
backport/26.4/99138from
cherrypick/26.4/99138

Conversation

@robot-ch-test-poll

Copy link
Copy Markdown
Contributor

Original pull-request #99138

Do not merge this PR manually

This pull-request is a first step of an automated backporting.
It contains changes similar to calling git cherry-pick locally.
If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.

The check results does not matter at this step - you can safely ignore them.

Troubleshooting

If the conflicts were resolved in a wrong way

If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

kssenii and others added 27 commits March 10, 2026 12:00
For the `privileged_user` cases in `test_dynamic_disk_security_settings`,
replace the `query_and_get_error` + `ACCESS_DENIED not in error` pattern
with plain `node.query()` so the test verifies that `CREATE TABLE` truly
succeeds (no exception at all) when the profile permits the substitution.

To make the queries work end-to-end:
- Add `include_from_path.xml` / `include_from.xml` to node5 (needed for
  the `include` substitution test).
- Add `env_variables={"MINIO_SECRET": minio_secret_key}` to node5 (needed
  for `from_env`).
- Add `with_zookeeper=True` to node5 and pre-populate
  `/test_security_minio_secret` in ZooKeeper (needed for `from_zk`).

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
…_metadata

The parameter was renamed to is_server_startup_attach in d86eca8, but
37a246d then established that the correct name for the concept is
isLoadingFromExistingMetadata (UNDROP TABLE also sets FORCE_ATTACH/
FORCE_RESTORE, not only server startup). Align the parameter names in
all loadFromQuery overloads and in getDiskConfigurationFromASTImpl to
match the helper.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@robot-ch-test-poll robot-ch-test-poll added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request pr-critical-bugfix labels May 13, 2026
@robot-ch-test-poll
robot-ch-test-poll merged commit aad362b into backport/26.4/99138 May 13, 2026
@robot-ch-test-poll
robot-ch-test-poll deleted the cherrypick/26.4/99138 branch May 13, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! pr-critical-bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants