提交 bbe85695 编写于 作者: M Minghao Li

add syncMaybeAdvanceCommitIndex, maybe only one replica

上级 a6ee17fd
...@@ -890,6 +890,7 @@ void syncNodeCandidate2Leader(SSyncNode* pSyncNode) { ...@@ -890,6 +890,7 @@ void syncNodeCandidate2Leader(SSyncNode* pSyncNode) {
// use this now // use this now
syncNodeAppendNoop(pSyncNode); syncNodeAppendNoop(pSyncNode);
syncMaybeAdvanceCommitIndex(pSyncNode); // maybe only one replica
// do not use this // do not use this
// syncNodeEqNoop(pSyncNode); // syncNodeEqNoop(pSyncNode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册