Two-phase Commit Protocol - Assumptions

Assumptions

The protocol works in the following manner: one node is designated the coordinator, which is the master site, and the rest of the nodes in the network are designated the cohorts. The protocol assumes that there is stable storage at each node with a write-ahead log, that no node crashes forever, that the data in the write-ahead log is never lost or corrupted in a crash, and that any two nodes can communicate with each other. The last assumption is not too restrictive, as network communication can typically be rerouted. The first two assumptions are much stronger; if a node is totally destroyed then data can be lost.

The protocol is initiated by the coordinator after the last step of the transaction has been reached. The cohorts then respond with an agreement message or an abort message depending on whether the transaction has been processed successfully at the cohort.

Read more about this topic:  Two-phase Commit Protocol

Famous quotes containing the word assumptions:

    All of the assumptions once made about a parent’s role have been undercut by the specialists. The psychiatric specialists, the psychological specialists, the educational specialists, all have mystified child development. They have fostered the idea that understanding children and promoting their intellectual well-being is too complex for mothers and requires the intervention of experts.
    Elaine Heffner (20th century)

    Unlike Boswell, whose Journals record a long and unrewarded search for a self, Johnson possessed a formidable one. His life in London—he arrived twenty-five years earlier than Boswell—turned out to be a long defense of the values of Augustan humanism against the pressures of other possibilities. In contrast to Boswell, Johnson possesses an identity not because he has gone in search of one, but because of his allegiance to a set of assumptions that he regards as objectively true.
    Jeffrey Hart (b. 1930)

    Assumptions of male superiority are as widespread and deep rooted and every bit as crippling to the woman as the assumptions of white supremacy are to the Negro.... this is no more a man’s world than it is a white world.
    Student Non-Violent Coordinating Committee, African American civil rights organization. SNCC Position Paper (Women in the Movement)