Add CultNet shard replication puller
This commit is contained in:
parent
e8b2322420
commit
d778c36c27
5 changed files with 412 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue