Expand description
The replica dispatcher — the harness’s stand-in for the k8s Service.
Holds one [Store] handle per gonzalod replica, round-robins each op to a
replica, and on a transport error (a dead/killed replica) fails over to
the next one. A [PutResult::Conflict] is a valid answer from a live replica
and is returned unchanged — it is never a failover trigger (the caller
re-reads and retries the RMW). This is exactly the failover path a k8s agent
pod relies on when a gonzalod pod dies behind the Service.
Structs§
- Dispatcher
- Fans record ops across N replica stores with round-robin + failover.