Re:It’s Time to Move on from Two Phase Commit
by abadid on Friday January 25, 2019 @02:50PM
(#19001791)
I understood and agree with all of your stated assumptions. However, I didn't follow your naive implementation. I would definitely caution against using a coordinator.
[ Parent
| on HN ]
Re:It’s Time to Move on from Two Phase Commit
by pacala on Friday January 25, 2019 @02:59PM
(#19001898)
The transaction must enter the system somewhere. The 'coordinator' is that entry point, with a durable log so we don't inadvertently lose the transaction. It's only job is to push the transaction to all the workers involved.