I read the paxos can be used to keep replications in sync by syncing operation logs to replications.
To my understanding each paxos instance will define an log id with the operation
Ideally the log will be like this on each nodes, therefore they apply the operation log in the order of log id to keep the data consistent with each other
- Delete ....
- Add ...
- Remove ...
To my understanding the log id is not increased one by one , so the log should like this :
1.Delete ....
3.Add ...
5.Remove ...
I guess my questions is how it is work practically if one node is down, during the paxos instance?
Because this node will miss one log entry, how does this node knows it missed an entry after it recovered ?
According to wiki
https://en.wikipedia.org/wiki/Paxos_(computer_science)#Multi-Paxos
Multiple-paxos seems implemented in way of make sure LOG ID always increase with no gap.
That's said, to my understanding, each replicate still need to periodically talk to some to make sure the are on the latest change.