Skip to main content

cancel_carried_reconfiguration

Function cancel_carried_reconfiguration 

Source
fn cancel_carried_reconfiguration(
    config: &mut ClusterConfig,
) -> Option<ReconfigurationAudit>
Expand description

Retains a stale in-progress reconfiguration record carried by a direct config write as cancelled, returning the audit intent to declare with the write.

A direct write reshapes the replica set itself, superseding whatever target the record carries. Leaving the record in progress would have the controller keep converging on that stale target.