State Diagram for 2PC
Init
Wait
Commit
Abort
Coordinator
Init
Wait
Commit
Abort
Participant
Abort
message
Commit
message
Ready
vote
Abort
vote
send “prepare”
All voted
“Ready”
Timeout
or “abort”
Previous slide
Next slide
Back to first slide
View graphic version