Two-phase validation protocol
Distributed databases
Article REF: H3850 V1
Two-phase validation protocol
Distributed databases

Authors : Claude CHRISMENT, Geneviève PUJOLLE, Gilles ZURFLUH

Publication date: December 10, 1993

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

7. Two-phase validation protocol

In a distributed context, the validation of a global request that is broken down into local sub-requests requires the implementation of a Two Phase Commit Protocol (2PC).

A global control module (GCM) supervises the execution of the query and determines whether it has been completed correctly. To do this, this control module communicates with local control modules (LCMs), specific to each site where the subqueries are executed. Depending on whether or not the subqueries have been executed correctly, the MCG may or may not signal the correct end of the query to the user.

The following pseudo-code explains how these modules work. Correct execution of the query is validated by a COMMIT operation, which makes the modifications made to the database effective. Incorrect execution triggers a restore operation (ROLLBACK) which undoes the modifications...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Article included in this offer

"Software technologies and System architectures"

( 227 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details