Skip to main content

two_phase_commit

Function two_phase_commit 

Source
pub fn two_phase_commit(
    participants: &mut Vec<TwoPCParticipant>,
) -> TwoPCOutcome
Expand description

Run a full 2PC protocol.

Returns Committed if all participants vote yes, Aborted otherwise.