If ZooKeeperIf there is an interruption in the process of synchronizing the message, after the failure is recovered, the transmission status before the failure can be adjusted according to the the state continues to synchronize, that is, support for resuming transmission from a breakpoint.
B.
ZooKeeperUse a custom atomic message protocol to ensure the consistency of node data in the entire system.
C.
ZooKeeperThe cluster is elected at startupLeaderRole.
D.
LeaderAfter a node receives a data change request, it first writes to disk and then writes to memory.