Distributed Systems
CS3.401Prof. Kishore Kothapalli•Monsoon 2025-26•4 credits
Unit 8 — Distributed Transactions, 2PC & 3PC
ACID across multiple sites. Two-Phase Commit (2PC): Prepare + Decide phases; log records; recovery rules; the BLOCKING problem when coordinator crashes after all <ready>. Three-Phase Commit (3PC): adds a PRE-COMMIT phase to break blocking; requires no-partition assumption (rarely used in practice).