R2-02: Communication & Store-and-Forward round-2 fixes incl. Critical N1 (15 tasks) #9
Reference in New Issue
Block a user
Delete Branch "r2-plan02"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Round-2 architecture-review fixes — PLAN-R2-02 (Communication & Store-and-Forward), all 15 tasks incl. the round-2 Critical (N1). Source:
archreview/02-communication-store-and-forward.md.TDD throughout; per-task pathspec commits; full slnx build 0/0; targeted suites green (full-suite sweep at integration merge).
Critical N1 + High N2 spine (T1–T7):
91209070shared oldest-UpActiveNodeEvaluatorin Communication; Host evaluator delegates6e0fa213failing two-node repro — leader-vs-oldest resync divergence wipes delivering node buffer3a5b885aresync authority uses the shared oldest-Up predicate + delivery-gate delegate; apply-time re-check26dce8b6heartbeat IsActive uses the shared predicate; Host wires one delegate everywhere3f937b39chunk the resync snapshot to fit Akka remoting frames (additive byte-budgeted protocol)84bc2380standby assembles chunked resync, applies atomically, acks; N5 race documented6e1ab62dresync ack confirmation + completed/ack-missing telemetryWave-1 remainder (T8–T15):
61442b5f_sweepTaskCAS-win publish (shutdown drain no longer clobbered) (N3)cc4ff702eager-validate SweepBatchLimit/SweepTargetParallelism (N4)bb8be553coalesce live-alarm publishes (N6)c29e5889queued re-seed + stream-generation stamp (N7)b7f8632dctor-inject reconnect/stability, remove process-global statics (N7)4e228110RemoveSiteAsync production caller on site delete (N8)41ffe42ddoc acceptance for standby/deleted-site aggregator (N8)c83b51fesingle-endpoint sites can go live (N9)Additive wire messages (
SfBufferSnapshotChunk/SfBufferResyncAck, intra-site remoting; legacySfBufferSnapshotretained for rolling compat). R2-01 and R2-07 stack on this branch (sharedAkkaHostedService.cs/TwoNodeClusterFixture.cs/ManagementActor.cs/SiteAlarmLiveCacheService.cs).Merged to main via the r2-integration fast-forward (main @
1930f19b, pushed to origin). All commits from this branch are in main; the two integration-surfaced test fixes (IntegrationTests NodeName host-boot config, compile-cache assertion relax) landed on main as well. Closing — content fully integrated.Pull request closed