Content deleted Content added
No edit summary |
No edit summary |
||
Line 6:
----
i reformatted the protocol description at the bottom of the page to look similiar to [[two-phase_commit]]. hope nobody minds. [[User:Gba|gba]] 18:56, 4 March 2006 (UTC)
----
Ah, got 3PC only after Tanenbaum's book description. Both picture and description have principal mistakes.
1. Picture: on coordinator's side "Finalizing commit. Timeout causes abort". Coordinator MUST commit, because cohorts are commited.
2. Coordinator's action, item #3: "However if the coordinator times out while waiting for an acknowledgement from a cohort, it will abort the transaction." Also invalid, because after prepared state, whole system have no way back. It could be only commited earlier or later.
This base algorithm's idea:
1. both coordinator and cohorts are change their phases together and only after all parts are entered previous phase.
2. there is "point of no return", after which we cannot roll back transaction, only commit. If someone failed after that point, it will commit transaction later at the restore state.
[[User:Shmuma|Shmuma]] ([[User talk:Shmuma|talk]]) 10:48, 23 April 2010 (UTC)
== Atomicity reliability ==
|