Repository navigation
chore: update lance dependency to v11.0.0-beta.6 - #3922
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
There was a problem hiding this comment.
✅ Gate recommendation: approve.
This is the right adaptation to Lance's finalized exact file-version contract: the dependency set stays coherent, blob tables continue to require V2.2/V2.3 without downgrading explicit V2.3 requests, and persisted defaults remain unchanged.
Please mark this PR with the breaking-change label.
The smartstring repository was archived by its author on 2026-05-03, so RUSTSEC published an unmaintained advisory that now fails `cargo deny` on every PR. Not a vulnerability, and reached only transitively through polars -> polars-core; nothing in LanceDB depends on it directly. The advisory notes no safe upgrade exists (upstream suggests compact_str / smol_str), so clearing it requires polars to migrate. Unblocks CI on this branch; unrelated to the lance v11.0.0-beta.6 bump.
There was a problem hiding this comment.
✅ Gate recommendation: approve.
The new advisory exception is appropriately scoped: RUSTSEC-2026-0249 is an informational “unmaintained” entry with no patched version, and smartstring is reachable only transitively through Polars. The previously reviewed beta.6 dependency and exact-version adapters are unchanged, so their blob-storage and Rust/Java version semantics remain intact.
Please mark this PR with the breaking-change label.
|
PyPI failure is pre-existing since 8/8, will get this merged and come back later for the issue |
…#3911) > Stacked on #3780. Blocked only on #3922 (`lance` → `v11.0.0-beta.6`), so CI > stays red until that lands. ## Missing coverage must mean "not known to be covered" #3780 caps the SSTable exclusion watermark at an index's recorded catch-up when there is one, and silently ignores the case where there is none. On a table that requires catch-up, an absent entry means the index is *not* known to hold the compacted rows — and the LSM base arm reads base through the index (`fast_search`, no brute-force tail), so dropping that SSTable loses those rows for that query. ```rust Some(caught_up) => watermark = watermark.min(caught_up), None if catchup_required => watermark = 0, // retain everything None => {} ``` `catchup_required` reads the manifest feature bit directly, and requires both words: a half-set manifest is treated as legacy, which is the conservative side. Without the bit the field is not maintained at all, so absence carries no information and behaviour is unchanged. ## Activation, as a table-level entry point `Table::require_mem_wal_index_catchup()` performs the one-way switch, separate from `set_lsm_write_spec`: a table carrying the bit retains every generation until something records catch-up, so it has to follow the deployment of whatever repairs coverage, not the creation of the table. This is a convenience, not the only path — a writer holding the dataset calls the equivalent on `DatasetMemWalExt`, which is what the WAL pod does. Lance enforces the preconditions either way: the MemWAL index must exist, and the table must not already carry `compacted_sstables` from before this protocol, since those numbers cannot be validated. ## Still correct after the Lance rework lance-format/lance#8481 replaced the transmitted `IndexCatchupAdvance` with a position derived at commit time from the version a transaction read. That changed how a writer earns coverage; it did not change what a reader may conclude from its absence. The rule here, and the field it reads, are unchanged. ## Tests Existing `exclusion_watermarks` unit tests carry the new argument. Coverage against a real dataset follows once #3922 lands and this can build.
Updates the Rust workspace Lance dependencies and Java lance-core dependency to v11.0.0-beta.6. Includes compatibility updates for the new concrete Lance file-version API. Trigger: https://github.com/lance-format/lance/releases/tag/v11.0.0-beta.6