Conversation
beinan
added a commit
that referenced
this pull request
Oct 21, 2026
) Blocking replica persistence currently requires the caller to own and poll each Raft node directly. Add an optional runtime that owns each group on a dedicated thread and exposes bounded asynchronous commits and quorum reads while retaining the shared physical log and storage failure fence. Data, control and peer credits are shared across groups. Cancellation keeps ownership at the worker, and completed replies retain their credits until consumed. Appends keep their shared payload buffers; slow peer output cannot block other group workers. Shutdown joins workers before directories may be reopened. Network transport, snapshot transfer, physical disk admission and maintenance scheduling remain separate integration work. Validation: runtime feature Clippy; 90 library tests, including five new real-engine/thread cases for restart/retries, quorum isolation, cancellation, response retention, saturated peer output and file-sync failure; six existing replication process qualifications. The new runtime tests use an in-process relay, not a production transport. Full repository checks passed: Rust formatting, Clippy and tests; Python tests, Ruff and Pyright. After rebasing the identical patch onto merged #440, formatting, feature Clippy and the 90 library / six process tests passed again. 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.
Managed Lance readers previously needed a publisher owner and a pending publication plan, which prevented opening a bootstrapped or idle table independently. Add
ManagedManifest::readerbound to the authorized table, incarnation, layout and dataset path; it resolves catalog-selected manifests and rejects commits before uploading or reserving anything.The writer constructor keeps its fixed-target contract, and manifest identity bytes are unchanged. Existing real Lance restart, takeover and retained-history qualifications now use the independent reader.
Validation: full repository checks passed (Rust tests, formatting and Clippy; Python tests, Ruff and Pyright). The identical patch was rebased onto merged #438 and #439, then passed formatting, feature Clippy, four adapter boundary tests and seven WAL/Lance process qualifications again.
Refs #378. Builds on #439.