Repository navigation
fix(index): preserve indexed overlay hits across segment merges - #11261
wombatu-kun wants to merge 2 commits into
Conversation
|
Important Format specification voteThis PR modifies the Lance format specification, so it requires 3 binding +1 votes from PMC members (excluding the proposer), at least one of them on the latest commit, and a minimum 72-hour voting period, weekends excluded, before it can merge. Vote by approving this PR (+1) or requesting changes (−1, a veto). See the voting process. Approvals carry over across pushes, so a rebase or a typo fix does not send everyone back to re-vote. Whoever approves the latest commit is vouching that nothing substantive has changed since the earlier approvals; if something has, ask for fresh votes. Status: ❌ Blocked — 0 of 3 required approvals
Updated automatically by the format-spec vote gate, which re-checks every 15 minutes — just voted? Re-check now (press Run workflow; leave the input blank to re-check every open format PR). A PMC member may apply the |
There was a problem hiding this comment.
✅ Gate recommendation: approve.
The per-overlay identities preserve already-indexed hits while keeping later updates masked and retaining the source version needed for row-address remapping. Land the format contract in #11260 first, then rebase this implementation on it.
Merging segments built from different snapshots could hide an indexed row from a vector or full-text
fast_searchquery. The merged segment now records which overlay files its inputs already indexed. A later update to the same cell is still filtered until it is indexed.Validate staged fragments against their build snapshots so a value-preserving repack retains coverage and a rewrite or restore cannot expose stale entries.
Fixes #11180. Depends on the format proposal.