add syncMaybeAdvanceCommitIndex, maybe only one replica
This commit is contained in:
parent
a6ee17fd43
commit
bbe85695cf
|
@ -890,6 +890,7 @@ void syncNodeCandidate2Leader(SSyncNode* pSyncNode) {
|
|||
|
||||
// use this now
|
||||
syncNodeAppendNoop(pSyncNode);
|
||||
syncMaybeAdvanceCommitIndex(pSyncNode); // maybe only one replica
|
||||
|
||||
// do not use this
|
||||
// syncNodeEqNoop(pSyncNode);
|
||||
|
|
Loading…
Reference in New Issue