|
|
|
|
|
by toomim
2137 days ago
|
|
> Then queues the op. Once op is sent and ACKed by at least one of the servers the op is dropped from the queue. Unfortunately, it's a lot more complicated than this. First, you can't wait until just one peer has ACKed -- you need to wait until all of them have. Any peer that hasn't ACKed could still send an op based on the one you want to delete, and then you wouldn't have enough information to merge the new op. Second, you can't just wait until all peers have ACKed an op, you need to wait until no new ops depend on that op. An op could depend on an op even though it has been ACKed by everyone. Third, a peer could go offline for a while, and then come back online. But if you are waiting for all peers to ACK an op, you might never get a situation where all peers are online at the same time. |
|