This commit is contained in:
root 2020-12-21 15:51:23 +08:00
parent d7520a5ad8
commit a55bec788f
1 changed files with 3 additions and 1 deletions

View File

@ -1266,8 +1266,10 @@ static int32_t syncForwardToPeerImpl(SSyncNode *pNode, void *data, void *mhandle
}
}
if (pNode->replica != 1) {
return TSDB_CODE_SYN_INVALID_VERSION;
}
}
// always update version
sTrace("vgId:%d, update version, replica:%d role:%s qtype:%s hver:%" PRIu64, pNode->vgId, pNode->replica,