Registry Mirror
Skip to content

Conversation

@beinan

@beinan beinan commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Connect the durable replica workers over mutual TLS, sharing one outbound connection per physical peer across hosted groups. Bind configured node identities to leaf certificate fingerprints and validate frame scope before Raft admission. Keep payload bodies in shared buffers, reserve receive credits before body allocation, and cap each destination's queued and active bytes so a stalled follower cannot retain the entire outbox budget.

Handshake/frame deadlines discard uncertain connections and let Raft retransmit. Network sends do not acknowledge durability. Snapshot transfer, disk admission, automatic maintenance and client/server ingestion integration remain follow-up work.

Refs #378. Builds on #441.

Testing

  • Feature Clippy and 103 library tests, including real TLS endpoints, identity rejection, receive admission and slow-follower quorum progress.
  • Three actual Rust processes communicate over this transport: kill the leader, continue writing, kill and reopen every node on its original log, verify exact retries and all payloads. The parent does not relay consensus traffic.
  • Six existing replication process qualifications.
  • Full repository checks: Rust formatting, workspace Clippy/tests, Python pytest, Ruff and Pyright.
  • The Rust CI workflow now runs the peer-transport feature and these process tests.

The tests establish the exercised correctness cases; no network throughput or production readiness claim is made.

@beinan
beinan merged commit 554d420 into main Oct 21, 2026
16 checks passed
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.

1 participant