4 ms·
With two phase commit, once each member pre-commits, the only next state is for both all parties to actually commit. The entire system will wait forever until e
by baskethead 5y ago
With two phase commit, once each member pre-commits, the only next state is for both all parties to actually commit. The entire system will wait forever until everyone commits. If one node that pre-commits blows up, the entire system is frozen until it commits. So it’s inherently a fragile system with indefinite outages if nodes go down or if the coordinator goes down.