Interactive Two-Phase Commit — a coordinator polls three participants, then broadcasts COMMIT or ABORT. Toggle a vote to NO or crash the coordinator to see how 2PC handles it.
Happy path
Vote NO
Coordinator crashes
Free play
Coordinator + 3 participants · unanimity required
idle
preparing
committed
aborted
Coordinator
Idle
Step 0 / 0
Idle.
Press
Next
to begin a transaction.
Scenario timeline
—
Prev
Play
Next
Restart
←
→
space
Free play — set votes and step through
Crash the coordinator after collecting votes
Start
Next step
Reset
phase
—
votes YES
0
votes NO
0
outcome
—
Message log
last 2 messages