Repository navigation
Backport #128955 to 26.3: Hide secrets in system.s3_queue_settings and system.azure_queue_settings - #129469
Merged
Conversation
…and `system.azure_queue_settings`
Contributor
|
Workflow [BackportPR], commit [0751951] Summary: ✅ |
The new test `05493_s3queue_settings_system_table_hide_secrets` reads `system.s3_queue_settings`, which calls `StorageObjectStorageQueue::getSettings` for every queue table on the server. When a concurrent `DROP` shuts a queue table down, `shutdown` resets `files_metadata` while `startup_finished` stays set, and `getTableMetadata` throws the logical error `Files metadata is empty`. The same failure happened on the backport of this PR to the private release/26.4 branch. This is the part of #113695 that `getSettings` needs (26.3 does not have that PR): `files_metadata` is set and reset under `mutex`, `tryGetFilesMetadata` takes one snapshot of it, and `getSettings` returns the default settings when the table is shut down. PR: #129469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
leshikus
pushed a commit
that referenced
this pull request
Nov 13, 2026
The new test `05493_s3queue_settings_system_table_hide_secrets` reads `system.s3_queue_settings`, which calls `StorageObjectStorageQueue::getSettings` for every queue table on the server. When a concurrent `DROP` shuts a queue table down, `shutdown` resets `files_metadata` while `startup_finished` stays set, and `getTableMetadata` throws the logical error `Files metadata is empty`. The same failure happened on the backport of this PR to the private release/26.4 branch. This is the part of #113695 that `getSettings` needs (26.3 does not have that PR): `files_metadata` is set and reset under `mutex`, `tryGetFilesMetadata` takes one snapshot of it, and `getSettings` returns the default settings when the table is shut down. PR: #129469 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #128955
Cherry-pick pull-request #129302
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