enh(sync) sync/mnode integration, add log

This commit is contained in:
Minghao Li 2022-05-23 20:26:12 +08:00
parent 6c8490058a
commit 102a08f44b
2 changed files with 2 additions and 0 deletions

View File

@ -368,6 +368,7 @@ int32_t syncNodeOnAppendEntriesCb(SSyncNode* ths, SyncAppendEntries* pMsg) {
ths->restoreFinish = true;
tsem_post(&ths->restoreSem);
sInfo("==syncNodeOnAppendEntriesCb== RestoreFinish tsem_post");
}
}

View File

@ -145,6 +145,7 @@ void syncMaybeAdvanceCommitIndex(SSyncNode* pSyncNode) {
pSyncNode->restoreFinish = true;
tsem_post(&pSyncNode->restoreSem);
sInfo("==syncMaybeAdvanceCommitIndex== RestoreFinish tsem_post");
}
}