Fix hardlink with indexes and projections#107753
Conversation
|
Workflow [PR], commit [2b14a50] Summary: ❌
AI ReviewSummaryThis PR changes Missing context / blind spots
Tests
Final VerdictStatus: Minimum required action: add or link focused regression coverage for the non-full storage hardlink/rebuild behavior changed here. |
| NameSet removed_projections; | ||
|
|
||
| bool is_full_part_storage = isFullPartStorage(ctx->new_data_part->getDataPartStorage()); | ||
| bool is_full_part_storage = isFullPartStorage(ctx->source_part->getDataPartStorage()); |
There was a problem hiding this comment.
This fixes the storage-type discriminator used for mutation hardlink/rebuild decisions, but I do not see a regression test that would fail if this still looked at ctx->new_data_part. Existing OSS tests instantiate DataPartStorageOnDiskFull, so they do not cover the !isFullPartStorage(ctx->source_part->getDataPartStorage()) branch this patch changes. Please add or link a focused test for a non-full source part with existing skip indexes and a projection where the mutation must rebuild them instead of hardlinking them.
LLVM Coverage Report
Changed lines: Changed C/C++ lines covered by tests: 4/4 (100.00%) | Lost baseline coverage (was covered on master, now uncovered in this PR): 1 line(s) · Uncovered code |
Changelog category (leave one):