Repository navigation
Backport #100849 to 26.4: Fix shared cache issues between Protobuf and ProtobufList - #110754
Merged
Merged
Conversation
…d ProtobufList
Contributor
|
Workflow [BackportPR], commit [31bac0c] Summary: ✅ |
bytehalo-infra
added a commit
to sentioxyz/ClickHouse
that referenced
this pull request
Sep 25, 2026
…ickHouse#110754, not to 26.3) PROTO: ProtobufSchemas cached one importer per schema directory and looked a message up by name in the importer's whole descriptor pool before importing the requested file. Two schema files in the same directory that define a message with the same name (or the same file used as Protobuf and as ProtobufList with an Envelope) then shared the first descriptor: a query could parse its input with another file's message definition, i.e. wrong columns, errors or wrongly parsed data. The fix keys the importer by (directory, schema file, envelope) and looks the message up in the imported file only. Found by the CAND5 gtest run: three unit tests of the ClickHouse#106905 backport (gtest_protobuf_sync_after_error.cpp) give each test its own inline schema with a message named Row and failed with "Not found matches between the names of the columns (d) and the fields (number) of the message 'Row'" - the previous test's schema. The stateless test is the upstream 04061_protobuf_cache_with_envelope. Upstream patch unchanged (applies cleanly), with its test and schemas. Co-Authored-By: Claude Opus 5.5 <[email protected]>
mkmkme
pushed a commit
to Altinity/ClickHouse
that referenced
this pull request
Oct 17, 2026
…0849 Backport ClickHouse#100849 to 26.4: Fix shared cache issues between Protobuf and ProtobufList
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 #100849
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.4.5.137