Skip to content

fix(index): preserve indexed overlay hits across segment merges - #11261

Closed
wombatu-kun wants to merge 2 commits into
lance-format:mainfrom
wombatu-kun:fix/11180-fast-search-overlay-merge
Closed

wombatu-kun wants to merge 2 commits into
lance-format:mainfrom
wombatu-kun:fix/11180-fast-search-overlay-merge

Conversation

@wombatu-kun

Copy link
Copy Markdown
Contributor

Merging segments built from different snapshots could hide an indexed row from a vector or full-text fast_search query. 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.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added A-index Vector index, linalg, tokenizer A-format On-disk format: protos and format spec docs format-change A change to the format spec, which requires a vote. Remove if minor (e.g. fixing typo). bug Something isn't working labels Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Important

Format specification vote

This 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

Approvals none (0/3)
Latest commit approved by none — one PMC member must approve the latest commit
Vetoes none
Voting period ends Tue 2026-11-24 06:30 UTC (Mon 22:30 PST)

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 format-waived label to waive the vote for a trivial edit (typo, wording, formatting).

@lance-gatekeeper lance-gatekeeper Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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.

@lance-gatekeeper lance-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-format On-disk format: protos and format spec docs A-index Vector index, linalg, tokenizer bug Something isn't working format-change A change to the format spec, which requires a vote. Remove if minor (e.g. fixing typo). K-approved Latest Gatekeeper recommendation permits acceptance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: fast_search can lose indexed overlay rows after segment merge

1 participant