refactor(sync): snapshot strategy

This commit is contained in:
Minghao Li 2022-07-06 11:44:28 +08:00
parent cd4bc6e30b
commit 730a7a4a58
1 changed files with 0 additions and 12 deletions

View File

@ -659,18 +659,6 @@ static bool syncNodeBatchOK(SRpcMsg* pMsgArr, int32_t arrSize) {
if (pMsgArr[i].msgType == TDMT_SYNC_CONFIG_CHANGE_FINISH) {
return false;
}
if (pMsgArr[i].msgType == TDMT_SYNC_LEADER_TRANSFER) {
return false;
}
if (pMsgArr[i].msgType == TDMT_SYNC_SET_MNODE_STANDBY) {
return false;
}
if (pMsgArr[i].msgType == TDMT_SYNC_SET_VNODE_STANDBY) {
return false;
}
}
return true;