Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add an owner-routed HTTP point read for immutable full-body tables. A client on another ingress can retrieve an acknowledged row from active or frozen staging before it reaches Lance, using its original schema and composite business key. Reads capture a compatible applied view and reject owner changes during storage I/O.

The owner encodes one bounded Arrow IPC response. The forwarding ingress streams its chunks without Arrow decoding or whole-response coalescing; retained response bytes keep the read view and memory reservation alive. Capacity refusals and read failures remain errors rather than false missing-key responses.

This supports a known-key point read. Full-session discovery and application reader integration remain separate work.

Refs #378.

Validation

  • Featured full-body suite: 6 passed; the ignored subprocess role is exercised by its parent.
  • Featured all-target ingest Clippy and formatting/diff checks passed.
  • The regression covers two physical session shards, cross-ingress unpublished-body reads, independent publication and WAL restart, capacity refusals, response lifetime/cancellation, and takeover during a paused native read.
  • Workspace Rust Clippy and tests passed. Python tests passed (236 passed, 11 skipped, 1 expected failure), along with Ruff and Pyright; that phase was resumed after moving generated build artifacts off a full filesystem.
  • All-target Clippy passed for both http-client,materializer and service,http-client on the final test-helper feature gates.

The HTTP-only CI matrix does not compile the service plus HTTP-client body-read tests. Match both helper definitions to those callers instead of suppressing dead-code warnings.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.68932% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...e-context-ingest/src/http/annotations/body_read.rs 91.66% 6 Missing ⚠️
...nce-context-ingest/src/http/annotations/forward.rs 90.00% 6 Missing ⚠️
...lance-context-ingest/src/http/annotations/owner.rs 97.36% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@beinan
beinan merged commit ee0057b into lance-format:main Nov 27, 2026
21 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