Consensus Protocols: Two-Phase Commit at Paper Trail http://hnr.dnsalias.net/wordpress/?p=90
Nice article on 2pc