Add CultMesh durable shard log defaults

This commit is contained in:
Meta Vens 2026-05-19 21:13:33 +01:00
commit 8fc548e452
5 changed files with 128 additions and 4 deletions

View file

@ -26,6 +26,19 @@ var player = await node.Database.GetAsync<PlayerData>(playerKey);
await node.Database.PutAsync(playerKey, player);
```
Enable durable authoritative shard logs when a node should serve replica
catch-up after restart:
```csharp
using var node = await CultMesh.StartNodeAsync("world.ccmp", new CultMeshNodeOptions
{
EnableDurableShardLogs = true
});
```
If `ShardLogPath` is omitted, CultMesh stores logs beside the cache under
`world.cultmesh/shard-logs`.
## Verses
A Verse is a rule-bearing consensus graph. Aetheria Main can be a