Saral Shiksha Yojna
Courses/Distributed Systems

Distributed Systems

CS3.401
Prof. Kishore KothapalliMonsoon 2025-264 credits
Revision Notes/Unit 8 — Distributed Transactions, 2PC & 3PC

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).