Logging 2PC State Changes
Logging may be eager
meaning it’s flushed to disk before the next Send Message
Or it may be lazy = not eager
Coordinator
Participant
Request-to-Prepare
Prepared
Commit
Done
Log commit
(eager)
Log commit (eager)
Log commit (lazy)
Log prepared (eager)
Log Start2PC
(eager)
Previous slide
Next slide
Back to first slide
View graphic version