在tikv原理解读文章中提到过
对于 propose 过程而言,当 Leader 收到了足够的确认这一 Raft Log 的回复,便能够认为这一 Raft Log 已经被确认了,这一逻辑体现在
Raft::handle_append_response
之后的Raft::maybe_commit
方法中。
“Leader 收到了足够的确认这一 Raft Log 的回复”意思就是收到majority的回复吗?在handle_append_response和maybe_commit里都没找到这部分代码段…