logging - How is poxos keep replication logs in sync practically -


i read paxos can used keep replications in sync syncing operation logs replications.

to understanding each paxos instance define log id operation

ideally log on each nodes, therefore apply operation log in order of log id keep data consistent each other

  1. delete ....
  2. add ...
  3. remove ...

to understanding log id not increased 1 one , log should :

1.delete ....

3.add ...

5.remove ...

i guess questions how work practically if 1 node down, during paxos instance?

because node miss 1 log entry, how node knows missed entry after recovered ?


according wiki

https://en.wikipedia.org/wiki/paxos_(computer_science)#multi-paxos

multiple-paxos seems implemented in way of make sure log id increase no gap.

that's said, understanding, each replicate still need periodically talk make sure on latest change.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -