Conversation
beinan
changed the base branch from
codex/annotation-managed-publication
to
main
October 25, 2026 04:32
beinan
added a commit
that referenced
this pull request
Oct 25, 2026
## Summary Add a single-shard annotation application path over the existing RF3 WAL. Successful mutation responses wait for ordered application and a retained request result. Point reads obtain a quorum barrier and wait for the background view, without scanning the WAL suffix in the read path. The Arrow contract supports label additions/removals and explicit Keep/Set/Clear operations for status and score. The driver retains one decoded batch under pressure and a bounded latest outcome per producer slot. Missing turns reject the entire batch without blocking later records. Exact retries return the original result; changed or superseded requests cannot execute again. Upload and application workspaces are independent so waiting writers cannot occupy the memory needed to apply their own records. This remains **draft and disabled in the application registry**. It recovers from the original Lance base plus retained WAL and refuses materialized/closed sources. Managed publication must persist request outcomes and handle result-only batches before source GC can be enabled; this PR does not complete the draining service or establish a throughput result. Refs #378. Depends on #573 (stacked base). ## Testing - Ingest all-target Clippy with `service,http-client`, Rust workspace Clippy and all-target tests passed. The local repository script was stopped during the Python release build; this is not a full local-script pass. Python CI passed. - A real TLS/RF3/Lance integration test passed: WAL acceptance while apply is paused does not acknowledge success; another ingress cannot return its stale base; updates, label operations, exact/changed retries and atomic rejection behave correctly; an orderly restart reconstructs both values and latest request results. - The test uses actual disk-backed WAL nodes and Lance files. SIGKILL, publication/GC recovery and sustained mixed-load qualification remain outstanding.
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
A committed annotation batch that references a missing turn must not block every later update. Add typed application outcomes: permanent whole-batch rejections advance the ordered cursor without changing values; temporary staging pressure and storage errors leave it unchanged. Reject batches that cannot fit even after draining, and expose an explicit advance for already processed control entries.
The existing
apply_batcherror semantics remain unchanged. The new committed path does not authorize an ACK or WAL reclamation by itself; callers must retain request outcomes independently of dirty values.Refs #378. Depends on #572 (stacked base).
Testing