Repository navigation
fix(cache): bypass index listing caches without generation tokens - #11682
Merged
Xuanwo merged 1 commit intoDec 1, 2026
Merged
Conversation
Xuanwo
approved these changes
Dec 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A manifest location without an ETag produces shared index-listing cache keys that cannot distinguish table generations at the same URI/version. A stale empty listing can therefore hide indices present in the current manifest.
Bypass the raw, derived and inferred listing caches when no manifest generation token is available. Keep the existing cache path for ETag-backed locations. Storage without ETags remains supported, with additional metadata I/O instead of reusing an unverifiable shared entry. No persisted format or public API changes.
Two regression cases use the checked-in historical fragment-reuse fixture. They seed a stale empty cache entry, then verify that both raw and derived listing paths return the fixture's three real index entries. The historical data and decoding behavior are unchanged.
Transaction-cache generation collisions are tracked separately in #8916. This change is independent of that PR and of the LBM adapter/bindings.
Validation
e9039a75af62with test code only and pass with this fix.lance-table-runtimetests, integrations and doctests: 655 passed, zero failures.cargo fmt --alland strictcargo clippy --all --tests --benches -- -D warningspassed.