Skip to main content

reconfiguration_wait_result

Function reconfiguration_wait_result 

Source
fn reconfiguration_wait_result(
    record: Option<&ReconfigurationState>,
    awaited_target: &ReconfigurationTarget,
    realized_matches_target: bool,
) -> Option<Result<(), AdapterError>>
Expand description

Returns the foreground result, or None while the awaited target is pending.

Records are overwritten by later ALTERs, so success is defined by realized state rather than record identity. A waiter follows a record only while that record still carries its target.