cultnet.error.v0: add code write_not_authorized across C#, both schema copies and Rust
Captured-bytes case in cultnet-rs error_message.rs, asserted byte-for-byte by the C# schema contract test; the cultnet-distributed-database contract and the Networking README state the remote write authority invariant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b4f494b7a0
commit
5a80f2adca
7 changed files with 48 additions and 9 deletions
|
|
@ -197,7 +197,10 @@ reply.
|
|||
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
|
||||
node forwards a write to the owner or rejects it honestly when forwarding is
|
||||
not available. Followers subscribe to committed shard mutations and apply them
|
||||
not available. A node applies or forwards a peer's write only after its
|
||||
`RemoteWriteAuthority` grants it; with none configured it refuses all of them, and a
|
||||
write forwarded to a primary is judged again there for the forwarder's connection.
|
||||
Followers subscribe to committed shard mutations and apply them
|
||||
through the same CultCache reconciliation path as local file changes.
|
||||
|
||||
This should feel like the local-first parts of Firebase or RethinkDB without
|
||||
|
|
|
|||
Loading…
Reference in a new issue