012-store-coordination

Store coordination: fenced leases, local notify, the outbox, and the revision watermark

Lifecycle approvedImplementation completeVerification unknownQualification unknown

The coordination plane over the cache Raft group: distributed leases with the Raft log id as a mandatory fencing token and an explicit release, key-only local notify whose envelope is the routing key, the outbox row that commits in the same txn as the resource it describes, and the monotonic revision watermark every consumer polls so that notify is only ever a latency hint. Carries enrahitu://032 §3.2, §3.4, §3.5, §3.10.

Read the full pinned specification ↗

Relationships

Claimed units

  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/src/lock.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/src/notify.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/src/outbox.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/src/watermark.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/src/cache.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/tests/lock.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/tests/notify.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/tests/outbox.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/tests/watermark.rs"
    }
  • establishes
    {
      "kind": "file",
      "path": "crates/rahi-store/tests/cache.rs"
    }
  • extends
    {
      "nature": "additive",
      "spec": "011-store-hiqlite",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-store/src/lib.rs"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "011-store-hiqlite",
      "unit": {
        "kind": "file",
        "path": "crates/rahi-store/Cargo.toml"
      }
    }
  • extends
    {
      "nature": "additive",
      "spec": "010-workspace-and-core-types",
      "unit": {
        "anchor": "workspace.dependencies",
        "file": "Cargo.toml",
        "kind": "section"
      }
    }

Source headings

  1. 012: Store coordination
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 4. Functional requirements
  6. 5. Acceptance criteria
  7. 6. Out of scope
  8. 7. Resolved decisions
  9. Verification

Frozen anchors

No frozen anchors declared.