Repository navigation
Backport #108607 to 26.4: Fix direct read from multiple partially materialized text indexes - #108665
Conversation
…erialized text indexes
|
Workflow [BackportPR], commit [fa8d796] 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]>
Original pull-request #108607
Cherry-pick pull-request #108664
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.82