photoncloud-monorepo/flaredb/specs/003-kvs-consistency/data-model.md
centra 8f94aee1fa Fix R8: Convert submodule gitlinks to regular directories
- Remove gitlinks (160000 mode) for chainfire, flaredb, iam
- Add workspace contents as regular tracked files
- Update flake.nix to use simple paths instead of builtins.fetchGit

This resolves the nix build failure where submodule directories
appeared empty in the nix store.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 16:51:20 +09:00

537 B

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