Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Catalog-selected Lance manifests can live at unique staging paths, so an ordinary URI/version open cannot locate them. Add a read-only PinnedManifest commit handler for an application-authorized prior selection, validating its table/incarnation binding and exact manifest location.

The handler resolves only the selected version and rejects writes, listing and deletion. It supplies neither authentication nor file-retention authority. An independently authorized index writer can build from that base using an explicit write handler. Reopen each derived version before continuing: Lance preserves the original read handler on the Dataset returned by CommitBuilder. Ancestor traversal must use the separately pinned handle when it reaches the selected staged base.

Validation: the real Lance regression passed, including a moved manifest, failed raw open, exact reads, foreign binding/version rejection, read-only enforcement, ZoneMap then Bloom detached index construction, reopen/filtering, transaction ancestry and an unchanged selected base. All 26 GitHub checks passed on 5c19156b48d8e0370ac0941601f097bbbc67735f. Local formatting passed; the full local check script was attempted but interrupted while waiting for the shared build directory, so it is not reported as passed.

Part of #378.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 79.22078% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...xt-wal/src/replication/publication/lance/pinned.rs 79.22% 16 Missing ⚠️

📢 Thoughts on this report? Let us know!

@beinan
beinan marked this pull request as ready for review November 26, 2026 05:31
@beinan
beinan merged commit f170ec0 into lance-format:main Nov 26, 2026
26 checks passed
beinan added a commit that referenced this pull request Nov 28, 2026
…uisites (#1006)

Ports beinan/lance-context `codex/applied-path-timings-20261127`
(131052d) and the ancestors not already upstream, as one squashed
commit. It includes the vendored native memory admission, read recovery
and runtime crates, bounded body-lookup readahead (c1f18c5), overlapped
history lookups, membership cache reuse, the lookup probe, producer
replacement, and the Applied-wait observations.

Equivalents of #1000–#1004, #996, #999 and #974/#975 were already
upstream and are not repeated. Where this chain's `full-body` HTTP route
(2582862) conflicted with upstream's `read-body` (#994), upstream's
version was kept.

Uncompiled locally; relying on CI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Beinan Wang <beinanwang@microsoft.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants