blockchain_consensus_algorithm
blockchain_consensus_algorithm copied to clipboard
raft 的实现中,如果节点下线,然后重新上线,在下线的这段时间错过的消息怎么同步的?
真实情况下,下线节点会根据Term(任期)来判断是否追随leader节点,并从leader节点请求这段时间丢失的数据