Phase 1: Prepare

Coordinator sends PREPARE. Each participant votes YES (locked resources, ready) or NO. Response persisted before reply.

Advertisement

Phase 1: Prepare

Coordinator sends PREPARE. Each participant votes YES (locked resources, ready) or NO. Response persisted before reply.

Advertisement

Phase 2: Commit or Abort

All YES → coordinator sends COMMIT. Any NO → sends ABORT. Participants apply + release locks.