Repository navigation
perf(namespace): seek to dense ascending version pages - #11487
Merged
Xuanwo merged 3 commits intoNov 26, 2026
Merged
Conversation
karthiksenv
marked this pull request as ready for review
November 25, 2026 18:01
Xuanwo
approved these changes
Nov 25, 2026
Contributor
Author
|
Thanks for reviewing the ascending pagination fix, and thank you, @Xuanwo, for approving it. All 512 namespace tests passed. Could a maintainer merge this PR when convenient? |
Xuanwo
added a commit
to lance-format/lance-c
that referenced
this pull request
Nov 27, 2026
Adopt the Lance `v16.0.0-beta.4` release commit (`1686234925dd`) for the lance-c `v0.2.1-beta.8` preview. [Lance release](https://github.com/lance-format/lance/releases/tag/v16.0.0-beta.4) The directory namespace now seeks to dense ascending V2 continuation pages on ordered S3. A local S3 comparison through `lance_namespace_call` returned identical versions, manifest metadata, and continuation tokens with the published `v0.2.1-beta.7` and the candidate through both the seek and the fallback after cleanup. The Rust-side FFI test also covers passing pagination tokens and reaching the final page. [Upstream pagination change](lance-format/lance#11487) The candidate passed the public type and shared export checks against the `v0.2.0` ABI baseline.
Xuanwo
added a commit
to lance-format/lance-c
that referenced
this pull request
Nov 27, 2026
Adopt the official Lance `v16.0.0-beta.5` release for the upcoming C `v0.2.1-beta.8` preview. The tag object `0f6402864d25df180d4d07067ae6ffeaae1de407` peels to `0ea718506941b3e4c8dd0aee279a8ea1b7c7b076`, which is used by all 16 manifest pins and 23 locked Lance packages. The resolved dependency graph and enabled features match the previous pin. [Lance release](https://github.com/lance-format/lance/releases/tag/v16.0.0-beta.5) Lance beta.5 reuses bitmap range results and avoids repeated mask work and unnecessary NULL tracking in combined scalar filters. The C scanner regression checks Bitmap and LabelList filters with equivalent and distinct ranges across three fragments, including `AND`, `OR` and `NOT` with nullable scores and lists. [Upstream change](lance-format/lance@239aaea) Since published C beta.7, directory namespaces can seek directly to dense ascending V2 manifest continuation pages on ordered S3. The released beta.7 and candidate beta.8 shared libraries returned matching version JSON and tokens on dense and gap pages against Moto with both the default and OpenDAL transports. The candidate also matched all 890 published beta.7 Linux x86_64 C exports. [Namespace change](lance-format/lance#11487)
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.
Addresses the ascending LIST cost in #11448. Descending continuation is under review in #11469.
For a bounded ascending continuation on ordered S3, check whether a V1 key could contribute to the requested interval, then seek to the corresponding V2 keys. Return the page directly only after finding every expected version and one lookahead row. A gap, a possible V1 overlap, or a change in decimal width falls back to the existing numeric scan. The logical page token survives deletion of its manifest.
The regression compares a complete ascending walk with unbounded history when a V1 key sorts between V2 keys. It also checks bounded reads, duplicate manifests, and cleanup between pages.
With 10,001 V2 manifests on Moto 5.2.6, the public Rust API returned every expected version, manifest path, size, eTag and timestamp. No query issued a manifest GET or HEAD.
The three-version continuation consumed 102 entries on upstream and at most five with this patch. All 512 namespace unit tests passed. Rust formatting and Clippy passed in CI. The Java 25 job needs a maintainer rerun after Maven Central returned HTTP 429 while resolving the Maven JAR plugin. Java job log