Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Two-phase commit, coordinator, blocking protocol?

Dikenal juga sebagai: two-phase commit · coordinator · blocking protocol

Definition 26.10 University Computer Science — Year 3 · Bab 26 — Replication and Consensus

In two-phase commit (2PC), a coordinator asks every participant whether it can commit its part of a transaction. A participant that can writes its part and its vote to its log and answers yes; from then on it may neither commit nor abort on its own. If every vote is yes, the coordinator logs the decision commit, otherwise abort, and sends the decision to all. A blocking protocol is one in which the failure of one process can leave other, correct processes unable to finish until it recovers.

Baca dalam konteks →