2Phase Commit Protocol

Discussion in 'Homework Help' started by zulfi100, Oct 2, 2013.

  1. zulfi100

    Thread Starter Member

    Jun 7, 2012
    320
    0
    Hi,
    Can somebody guide me about the following question related to 2-Phase commit protocol?
    I have got following knowledge about 2-phase commit protocol:
    i) if all commit, then the coordinator would send a commit message
    ii) if any participating site sends abort message, then coordinator would abort
    There is waiting involved in it.
    The other question is:
    Code ( (Unknown Language)):
    1.  
    2. How is it different from single phase commit?
    3.  
    I know that single phase commit is used for non-distributed environment, but is there any other difference.

    Plz guide me.

    Zulfi.
     
Loading...