Hey Mike Gershunovsky, nice article on distributed deadlocks and sharding!. I had a quick question.
Since you break app level transactions into individual shard level transactions, how do you handle rollbacks?
What if the transaction on the
shard-2 failed and the one on
Since the mini-transaction on
shard-1 had already committed, how does it rollback?