Skip to content

Backport #100849 to 26.4: Fix shared cache issues between Protobuf and ProtobufList - #110754

Merged
fm4v merged 1 commit into
26.4from
backport/26.4/100849
Jul 17, 2026
Merged

fm4v merged 1 commit into
26.4from
backport/26.4/100849

Conversation

@robot-ch-test-poll3

@robot-ch-test-poll3 robot-ch-test-poll3 commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Merged into: 26.4.5.137

@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 Jul 16, 2026
@clickhouse-gh

clickhouse-gh Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [BackportPR], commit [31bac0c]

Summary: ✅

@fm4v
fm4v merged commit 5420ff2 into 26.4 Jul 17, 2026
35 checks passed
@fm4v
fm4v deleted the backport/26.4/100849 branch July 17, 2026 09:06
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
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.

4 participants