mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
Related to #46358 Refactor segment loading to use a unified diff-based approach for both initial Load and Reopen operations: - Extract ApplyLoadDiff from Reopen to share loading logic - Add GetLoadDiff to compute diff from empty state for initial load - Change column_groups_to_load from map to vector<pair> to preserve order - Add validation for empty index file paths in diff computation - Add comprehensive unit tests for GetLoadDiff <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Performance** * Improved segment loading efficiency through incremental updates, reducing memory overhead and enhancing performance during data updates. * **Tests** * Expanded test coverage for load operation scenarios. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>