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:
“Why did he think adding meant increase?
To me it was dilution. Where do these
Innate assumptions come from?”
—Philip Larkin (19221986)
“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 mans world than it is a white world.”
—Student Non-Violent Coordinating Committee, African American civil rights organization. SNCC Position Paper (Women in the Movement)
“What a man believes may be ascertained, not from his creed, but from the assumptions on which he habitually acts.”
—George Bernard Shaw (18561950)