Consultor Eletrônico



Kbase P67161: What is the Two-phase Commit Protocol
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/02/2004
Status: Unverified

GOAL:

What is the Two-phase Commit Protocol

FIX:

A feature Progress uses to ensure that a record update executes across all databases. In the two-phase commit protocol, all the databases affected by the transaction are first polled to see if they are reachable. If they are, the update is committed to each database. If they are not, then the record update is cancelled, and all databases are restored to their prior state. If a database connection is lost during the commit phase you can resolve the inconsistency. Progress uses a two-phase commit protocol to minimize the effects of incomplete transactions.