intermediateTwo-Phase Commit (2PC)
What happens to a participant that voted YES if the coordinator crashes before phase 2?
It's stuck holding its locks indefinitely, unable to independently decide to commit or abort — this "blocking" behavior is 2PC's core structural weakness.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response