vault backup: 2025-03-31 08:45:43
This commit is contained in:
parent
163e33eb7e
commit
a9f76fef7c
1 changed files with 12 additions and 0 deletions
|
@ -36,4 +36,16 @@ Universality of consensus holds as folows:
|
|||
- create a total order on the operations O, by using consensus objects
|
||||
- force all processes to follow this order to locally simulate O
|
||||
- all local copies are consistent
|
||||
(O can be any object, e.g. a queue)
|
||||
|
||||
### First attempt (non wait-free)
|
||||
Let us first concentrate on obj's with deterministic specifications (we will see how to handle non-determinism later on)
|
||||
|
||||
Process $p_i$ wants to invoke operation op of object Z with arguments args, locally runs:
|
||||
```
|
||||
result_i <- ⊥
|
||||
invoc_i <- ⟨op(args) , i⟩
|
||||
wait result_i != ⊥
|
||||
return result_i
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue