You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Backport #129383 to 26.3: Require the same source and WRITE for queue after_processing - #133791
Original pull-request #129383
Cherry-pick pull-request #133532
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 query is CREATE TABLE tq_base ... ENGINE = S3Queue(...) SETTINGS keeper_path = '/clickhouse/{database}/05366' from 05366_s3queue_metadata_mismatch_immutable_fields, which this backport added. On 26.3, createQueueStorage (registerQueueStorage.cpp:123 and :127) passes the same MacroExpansionInfo to two expand calls, so the second call starts with level != 0. Master fixed this in #105256 (commits dde44b6 and a73d58f, auto info_copy = info;), which never reached 26.3; 26.8 and newer have it. Only debug builds abort: the test passes in the asan stateless job on the same commits.
Cherry-picking those two commits into 26.3 (3 lines in registerQueueStorage.cpp) fixes it. Reverting this backport would also stop it, but takes the after_processing fix out of 26.3. I can't open PRs against release branches. Which do you prefer: the cherry-pick or the revert?
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
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 #129383
Cherry-pick pull-request #133532
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
26.3.71.5