Distributed transactions

2-phase commit 3-phase commit