This completes the Mode A integration for horizontal scaling (plan §14.5): - Wire drift_reconciler with mode_a_coordinator for settings drift check partitioning - Wire anti_entropy_worker with mode_a_coordinator for shard-partitioned anti-entropy - Wire canary_runner with mode_a_coordinator for rendezvous-owned canary execution Changes: - admin_endpoints.rs: Create mode_a_coordinator before workers, wire up using Arc::try_unwrap - main.rs: Wire canary_runner with mode_a_coordinator when available Acceptance criteria met: - Unit test: owns() returns true for exactly one peer per item (existing test passes) - 3 pods anti-entropy: each shard processed exactly once (existing test passes) - Pod reassignment: shards reassigned within refresh window (existing test passes) The Mode A coordinator was already fully implemented with rendezvous hashing. This commit completes the wiring so workers actually use it. Closes: miroir-m9q.3 |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||