Two phase commit (ZPC) ia used to coordinate the commitment of trunsactiom in distributed systems. The standard 2PC optimization is the presumed abort variant, which wea fewer messages when trannsactions are aborted and allows the coordinator to forget about aborted transactions. The presumed commit variant of 2PC wea even fewer messages, but its coordinator must do additional logging. We describe a new form of presumed commit that reduces the number of log writes while preserving the reduction in me.+ saged, bringing both these costs below those of presumed abort. The penalty for this is the need to retain a small amount of crash related information forever.
Butler W. Lampson, David B. Lomet