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,7 +1266,9 @@ static int32_t syncForwardToPeerImpl(SSyncNode *pNode, void *data, void *mhandle
}
}
return TSDB_CODE_SYN_INVALID_VERSION;
if (pNode->replica != 1) {
return TSDB_CODE_SYN_INVALID_VERSION;
}
}
// always update version