Skip to content

chore: update lance dependency to v11.0.0-beta.6 - #3922

Merged
xuanyu-z merged 2 commits into
mainfrom
codex/update-lance-11-0-0-beta-6
Aug 12, 2026
Merged

xuanyu-z merged 2 commits into
mainfrom
codex/update-lance-11-0-0-beta-6

Conversation

@lancedb-robot

Copy link
Copy Markdown
Collaborator

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

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

@github-actions github-actions Bot added Rust Rust related issues chore Small non-consequential change. Hidden from changelogs. labels Aug 12, 2026

@lancedb-gatekeeper lancedb-gatekeeper 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.

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

@lancedb-gatekeeper lancedb-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Aug 12, 2026
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.
@lancedb-gatekeeper lancedb-gatekeeper Bot removed the K-approved Latest Gatekeeper recommendation permits acceptance. label Aug 12, 2026

@lancedb-gatekeeper lancedb-gatekeeper 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.

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

@lancedb-gatekeeper lancedb-gatekeeper Bot added the K-approved Latest Gatekeeper recommendation permits acceptance. label Aug 12, 2026
@xuanyu-z

Copy link
Copy Markdown
Contributor

PyPI failure is pre-existing since 8/8, will get this merged and come back later for the issue

@xuanyu-z
xuanyu-z merged commit 6fb976c into main Aug 12, 2026
48 of 50 checks passed
@xuanyu-z
xuanyu-z deleted the codex/update-lance-11-0-0-beta-6 branch August 12, 2026 06:43
xuanyu-z added a commit that referenced this pull request Aug 14, 2026
…#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Small non-consequential change. Hidden from changelogs. K-approved Latest Gatekeeper recommendation permits acceptance. Rust Rust related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants