Skip to content

ReplicatedFaults Striped: node-local damage must count against every stripe's tolerance #294

Closed

Description

@PierreZ

Downstream: PierreZ/paros#176 (run every paros role on moonpool-journal stores under at least the in-memory world's chaos) and PierreZ/paros#202. References: moonpool 9ed1360, paros 29b23e3.

Downstream evidence. moonpool-journal escalates some damage to the loss of the whole replica: an entry and
its slot both damaged is a DoubleFault and the journal refuses to open; so does damage to both header copies or
both meta copies. moonpool's own LayoutRegion doc says node-local loss "costs the node". paros therefore
publishes slot tables, headers and meta as stripe: None, and entries as Some(hash(journal, paxos_slot)).

Under Striped, the guarantee holds per class but not across classes:

  • stripe s may be damaged in the tolerance domains its rotation picks (storage/replication.rs:282-296);
  • node-local bytes may be damaged in the tolerance domains drawn into local (:188-210).

These two sets are independent. If a local domain loses its whole replica, and stripe s is also damaged in a
different domain, then s has lost copies in two domains. On a 3-acceptor majority, which tolerates one loss, the
run becomes unwinnable. Minority and Rolling patterns do not have this problem.

Smallest API. Either:

  • (preferred) in Striped, a domain allowed node-local damage counts as damaged for every stripe, so stripe s is
    damaged only in window(s) ∪ local and that union is at most tolerance domains; or
  • ReplicatedFaults::local_tolerance(k) with the guarantee k + stripe tolerance ≤ tolerance.

Determinism. Same draw count as today (local is already drawn). The new rule is only a stricter allows.

Acceptance. Extend crates/moonpool-sim/tests/storage/replicated.rs with a format whose any node-local damage
costs the whole replica. Over 40 seeds of Striped, no stripe may lose copies (damaged or replica lost) in more
than tolerance domains. Today it should be red at tolerance = 1 with three domains.

Activity

  1. added a commit that references this issue on Oct 6, 2026
    5b85b26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions