two-phase commit (2PC)
and
three-phase commit (3PC)