Add CultNet schema write forwarder

This commit is contained in:
Meta Vens 2026-05-19 17:47:43 +01:00
commit 061ffe54bc
6 changed files with 168 additions and 19 deletions

View file

@ -134,8 +134,9 @@ servers through `CultNetDatabaseServer`. It handles primary-shard writes, typed
R3 watch streams, raw document puts/deletes, raw snapshot responses,
schema/key-filtered live subscriptions, shard catalog exchange, and stale-epoch
write rejection. Non-primary write forwarding is available behind an injectable
`ICultNetShardWriteForwarder`; a concrete schema-v0 endpoint dialer is the next
missing organ.
`ICultNetShardWriteForwarder`, with `CultNetSchemaWriteForwarder` as the
schema-v0 `cultnet://host:port` endpoint dialer. Per-shard replica logs are the
next missing organ.
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