mirror of
https://github.com/lancedb/lancedb.git
synced 2026-09-04 12:38:38 +00:00
1b2cc893da
The only coverage of the fragment-swap commit's index retention used a BTree index. Vector is the type a view is usually built for and the one a rebuild strains hardest, since every fragment the index was trained over is replaced in the same commit. The case also pins down what retention does and does not mean: the index definition survives, but it covers none of the swapped-in rows, so the view falls back to a flat scan until maintenance rebuilds it. Asserting `num_unindexed_rows` keeps that from being mistaken for a regression later.