photoncloud-monorepo/specifications/flaredb/003-kvs-consistency/data-model.md

26 lines
537 B
Markdown

# Data Model: Namespace Consistency
- Namespace
- id: u32
- name: string
- mode: ConsistencyMode (strong | eventual)
- explicit: bool (true when user-configured; false when created implicitly)
- NamespaceModeDiff
- namespace: string
- self_id: u32
- other_id: u32
- self_mode: ConsistencyMode
- other_mode: ConsistencyMode
- ClusterConfig
- namespaces: [Namespace]
- default_mode: ConsistencyMode
- ConsistencyMode
- values: strong | eventual
- ConvergenceLag
- p50_ms: u64
- p95_ms: u64
- max_ms: u64