Skip to main content

REPOSITORY_READ_ONLY_GATE

Constant REPOSITORY_READ_ONLY_GATE 

Source
pub const REPOSITORY_READ_ONLY_GATE: StructuralGate;
Expand description

A backup refused because its repository is mode: ReadOnly.

Unlike the other rows this is NOT an invisible park: the writer (snapshot/mod.rs) sets phase: Failed in the same status patch, so a phase-based check already sees the object. It is registered for EXPLANATORY value — it turns “this backup failed” into “this backup was refused because the repository is read-only” without a second lookup. Hence WARN, not Fail: a read-only repository is a legitimate, deliberate configuration (a replication target, an archived repo served for restores only), so a green/red verdict must not hinge on it.