Skip to content

feat(cluster): harden naming recovery and bounded transport lifetimes - #736

Draft
wolfy-j wants to merge 2 commits into
mainfrom
fix/cluster-naming-recovery-20260911
Draft

feat(cluster): harden naming recovery and bounded transport lifetimes#736
wolfy-j wants to merge 2 commits into
mainfrom
fix/cluster-naming-recovery-20260911

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Cluster name ownership, participant recovery and transport shutdown need stronger lifetime and resource bounds. This draft preserves the complete local hardening candidate and its research evidence so the remaining work can be reviewed and continued remotely.

Implemented areas include owner-fenced naming/revocation, committed participant inventory and recovery, bounded Strong outcomes, authenticated relay/monitor lifetimes, joined handshake/shutdown cleanup, reliable outbound accounting, lazy queue storage and default protected control admission. The changes are interdependent and are preserved together rather than presented as independently mergeable patches.

The latest completed phase is control admission: reserves are carved from existing peer/node totals, accepted frames stay charged through writer/retry ownership, and ordinary backlog cannot consume every control slot. Defaults reserve 16 entries/1 MiB per peer and 256 entries/16 MiB per node. Ordinary maximum retained frame size is consequently 511 MiB under the default peer budget; explicit zero disables a reserve.

Validation retained in research/cluster/validation/control-admission/: full internode race suite; configuration and real authenticated TCP/TLS saturation tests; selected Raft tests and native multi-process boot/recovery; negative eligibility-disabled regressions. Earlier 100-manager TLS evidence is one-process localhost transport only, not a 100-machine cluster-service proof. These local results do not constitute whole-candidate CI approval.

Draft — do not merge yet. Remaining gates include snapshot/control receive and wire isolation, sustained mixed/toxic-network validation, canonical cross-node Streams, remaining naming/terminal-monitor lifecycle contracts, consumer documentation and review. Snapshot chunks currently share Raft control capacity; this phase does not guarantee control latency behind a blocked receiver. Default capacity sizing is initial policy, not sustained 100-node validation.

Start review at research/cluster/CONTROL-ADMISSION-CHECKPOINT.md, then TRAFFIC-ISOLATION.md and the latest entries of RECOVERY-20260911.md. The earlier naming journal is archived and superseded by the current integration journal. No existing PRs are merged by this publication.

@wolfy-j
wolfy-j requested a review from skhaz September 12, 2026 00:32
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