Describe two phases of Two-phase commit ?

Answer Posted / nishi

Prepare phase - The global coordinator (initiating node) ask a participants to prepare (to promise to commit or rollback the transaction, even if there is a failure)

Commit Phase - If all participants respond to the coordinator that they are prepared, the coordinator asks all nodes to commit the transaction, if all participants cannot prepare, the coordinator asks all nodes to roll back the transaction.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oracle block?

500


What are the types of rdbms?

493


What is difference between database and spreadsheet?

463


How many types of data are there?

498


What is the main purpose of a database?

469






Why do not you use gnu autoconf or scons for building?

534


What is flag in database?

584


Explain the different types of database keys?

537


What is advantages of progress actional?

498


What are the basic functions of a database?

481


What do you mean by entity type?

538


What are the functions of database management system?

457


What is openedge abl in terms of taking the perspective of the developer?

479


How to determine who is and change the owner of database?

526


Explain the Normalized Relations?

2304