I got asked this question in one of my interviews. I am curious about the answer for this question:
What will happen if in 3 phase commit protocol after sending pre-commit message, the co-ordinator receives positive response from all the resource managers, and when coordinator sends commit command, one of the resource manager fails to commit?
Any thoughts on this would be appreciated.
Thanks.