refactor: internalize vector staging merge flow#6220
Conversation
PR Review: refactor: internalize vector staging merge flowOverall: Well-structured refactor that cleanly separates planning from execution for distributed vector index finalize. Good test coverage across IVF subtypes and error cases. A few items to consider: P1:
|
5c4279d to
44062e8
Compare
|
CI is not running because our base is not |
…-merge-internal # Conflicts: # python/src/indices.rs # rust/lance-index/src/traits.rs # rust/lance-index/src/types.rs # rust/lance/src/index.rs # rust/lance/src/index/vector/ivf/v2.rs
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
This refactors the distributed vector index finalization into an internal staging-merge pipeline while keeping the existing public workflow unchanged. The
merge_index_metadata(...)function now acts as a thin wrapper over the new flow. The tests have been split into a dedicated commit to make the logic changes easier to review.This change lays the internal groundwork for segmented vector index commit semantics without introducing new public orchestration APIs in this PR.
This PR is based on #6209. The changes are scoped into two commits:
Please review accordingly.