Update 'safe multimerge'

Sergey Chernov 2023-06-21 10:56:12 +00:00
parent fefc82656c
commit 4b12c6b78b

@ -15,24 +15,24 @@ sequenceDiagram
Alice ->>+Server: data: Hello, world!
Server -->>- Alice: accepted
Bob ->>+ Server: data: Hello, cruel world
Server -->> Bob: merge request
Server -->>- Bob: merge request
Carol ->>+ Server: data: Bye, world
Server -->> Carol: merge request
Server -->>- Carol: merge request
end
note left of Server: now "Hello, world!"
par conflicting update 2
Bob->>+Server: data: Hello, cruel world!
Server -->> Bob: accepted
Server -->>- Bob: accepted
Carol->>+ Server: data: Bye, world!
Server -->> Carol: merge request
Server -->>- Carol: merge request
Server --) Alice: update data
end
note left of Server: now Hello, cruel world!
par update 3
Carol->>+ Server: data: Bye, cruel world!
Server -->> Carol: accepted
Server -->>- Carol: accepted
Server --) Alice: update data
Server --) Bob: update data
end