Phase 1 - Each server that needs to commit data writes its data records to the log.
If a server is unsuccessful, it responds with a failure message.
If successful, the server replies with an OK message.
Phase 2 - This phase begins after all participants respond O
https://martinfowler.com/articles/patterns-of-distributed-systems/two-phase-commit.html