pub fn set_read_repairs_enabled(enabled: bool) -> boolExpand description
Configure whether read repairs are globally enabled.
Called once during configuration validation; subsequent calls are
silently ignored, so the cluster-wide read-repair flag is
write-once. Returns true when the value was
installed and false when an earlier call already pinned it.
ยงExamples
use dynomite::msg::set_read_repairs_enabled;
// Calling twice from a single test wins or loses depending on
// whether anyone else got there first; the API is idempotent.
let _ = set_read_repairs_enabled(true);