Add CultNet shard replication puller

This commit is contained in:
Meta Vens 2026-05-19 18:12:24 +01:00
commit d778c36c27
5 changed files with 412 additions and 9 deletions

View file

@ -141,6 +141,9 @@ mutations in per-shard ordered logs and exposes those logs over
catch-up. Replicas apply those committed entries through
`CultNetDatabase.ApplyShardLogResponseAsync`, which checks shard epoch, rejects
sequence gaps, and treats replayed entries as already applied.
`CultNetShardReplicator` can then pull non-primary shard logs from advertised
primary endpoints, using `CultNetSchemaShardLogFetcher` for the schema-v0
transport path.
The first coherent shard policy is primary ownership. Each shard has one
authoritative writer at a time. Clients may connect to any node; a non-owner