Distributed transactions and clustering