notes on basics of distributed transactions