add syncMaybeAdvanceCommitIndex, maybe only one replica

This commit is contained in:
Minghao Li 2022-04-20 20:29:20 +08:00
parent a6ee17fd43
commit bbe85695cf
1 changed files with 1 additions and 0 deletions

View File

@ -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);