Conversation
This was referenced Oct 25, 2026
beinan
marked this pull request as ready for review
October 25, 2026 07:58
…notation-owner-http
…r-http # Conflicts: # crates/lance-context-ingest/src/annotations/runtime.rs # crates/lance-context-ingest/src/tests/annotation_runtime.rs
beinan
added a commit
that referenced
this pull request
Oct 25, 2026
) ## Summary The ingestion binary can now run one annotation owner and multiple forwarding ingresses for an already provisioned annotation generation. Both roles use the existing authentication middleware and deployment-authorized configuration; forwarding ingresses open neither Lance nor a staging view. The owner reuses the existing etcd claim identity and preserves epoch-read-before-lease-validation ordering. It runs the committed applier and publisher, exposes authenticated health, reports bounded staging/source observations, and joins admitted work before releasing its claim. Lease loss or a role failure ends the process. Startup does not adopt an unbound table or retry uncertain mutations. ## Testing - `cargo fmt --all`; feature Clippy with `-D warnings`; binary build. - Annotation tests: 14 passed. The SIGKILL child role is run by its passing parent test. - Real application process tests: 2 passed, including two ingress executables, owner exclusion, publication/GC, SIGKILL and natural lease expiry, replacement, exact retry, field clearing, and lease-loss shutdown. - Existing etcd/worker tests: 4 passed using an independent local disk directory for etcd. - Local shared-disk stalls caused one 20-second lease-observation timeout and one existing worker RPC timeout. Both failures were retained and investigated. The correctness test now diagnoses the lease wait and allows 60 seconds; production RPC timeouts were not changed. This is not a failover-latency or throughput qualification. Based on #580. Refs #378.
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.
Summary
Multiple HTTP ingresses now route narrow annotation reads and updates to one fenced owner runtime. A successful update waits for quorum persistence and application; readers through another ingress see the current narrow annotation, including after publication and source GC. Forwarders stream the original request bytes without decoding Arrow or opening Lance.
The owner exposes producer, update, point-read, and close endpoints with existing credentials and receipts. Data and control admission are independent, response memory remains bounded, and epoch changes fence an old listener. Deployment supplies a stable owner address and authentication wrapper. Application role/configuration and etcd integration follow separately.
Testing
cargo fmt --all -- --checkcargo clippy -p lance-context-ingest --all-targets --features service,http-client -- -D warningscargo test -p lance-context-ingest --features service,http-client annotation -- --nocapture: 14 passed, 0 failed. The ignored child-process role is explicitly exercised by the passing SIGKILL recovery test.Based on #579. Refs #378.