This commit is contained in:
Shengliang Guan 2020-11-18 06:05:06 +00:00
parent 0edf4333f3
commit 858c034cdc
1 changed files with 4 additions and 1 deletions

View File

@ -1222,9 +1222,12 @@ static void syncMonitorFwdInfos(void *param, void *tmrId) {
pthread_mutex_unlock(&(pNode->mutex));
}
taosReleaseRef(tsSyncRefId, rid);
pNode->pFwdTimer = taosTmrStart(syncMonitorFwdInfos, 300, (void *)pNode->rid, tsSyncTmrCtrl);
}
taosReleaseRef(tsSyncRefId, rid);
}
static int32_t syncForwardToPeerImpl(SSyncNode *pNode, void *data, void *mhandle, int32_t qtype) {
SSyncPeer *pPeer;
SSyncHead *pSyncHead;