Repository navigation
Backport #108607 to 26.3: Fix direct read from multiple partially materialized text indexes - #108663
Conversation
…erialized text indexes
e59dfea to
23ed7f1
Compare
|
Workflow [BackportPR], commit [935df7a] Summary: ✅ |
|
@groeneai fix build |
|
@CurtizJ This is a clean API-drift build break, not a problem with the cherry-pick itself. #108607 calls the master signature Fix is to drop the 3rd argument: - if (!index->getDeserializedFormat(data_part.checksums, index->getFileName(), &data_part.getDataPartStorage()))
+ if (!index->getDeserializedFormat(data_part.checksums, index->getFileName()))
return nullptr;This is faithful to the original fix on the release branch, not a weakening: master's The same one-line change applies identically to the 26.3 (#108663), 26.4 (#108665) and 26.5 (#108667) backports. I am a fork contributor without push access to these branches, so I am posting the patch here for you to apply. |
The cherry-pick of #108607 calls `IMergeTreeIndex::getDeserializedFormat` with a third `const IDataPartStorage *` argument, which exists only on master (for packed index substreams via the `skp_idx.packed` overlay). On this release branch the method takes two arguments, so the build failed with "too many arguments to function call". On master, passing `storage == nullptr` disables the archive check, making the call equivalent to the two-argument form used everywhere else on this branch, so dropping the argument is behavior-preserving here. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
STOR: direct read from several partially materialized text indexes -> wrong/exc. Effect in the production build a394e92: its upstream test(s) 04411_text_index_multiple_partially_materialized fail on it and pass on official 26.8.8.8, run on isolated servers (evidence/fix_ci_20260925/upstream_repro/server_triage_PROD263_vs_UP2688.tsv). Upstream patch unchanged, with its test(s): 04411_text_index_multiple_partially_materialized. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Original pull-request #108607
Cherry-pick pull-request #108662
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.17.5