Skip to main content

note_corrupt

Function note_corrupt 

Source
pub fn note_corrupt(zone: &str, op: &str, e: &StoreError) -> bool
Expand description

If e is a corrupt-database error from op on zone of the shared store, marks the zone damaged and, the first time, records the incident and tells the agent. Returns whether e was one, so a caller can fall back to the block’s own copy instead of treating it as a transient failure.