fix: set restored

This commit is contained in:
Shengliang Guan 2022-12-08 17:53:39 +08:00
parent 932d7a7ac6
commit e0215d60ad
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ void mndRestoreFinish(const SSyncFSM *pFsm) {
SMnode *pMnode = pFsm->data; SMnode *pMnode = pFsm->data;
if (!pMnode->deploy) { if (!pMnode->deploy) {
if (pMnode->restored) { if (!pMnode->restored) {
mInfo("vgId:1, sync restore finished, and will handle outstanding transactions"); mInfo("vgId:1, sync restore finished, and will handle outstanding transactions");
mndTransPullup(pMnode); mndTransPullup(pMnode);
mndSetRestored(pMnode, true); mndSetRestored(pMnode, true);