提交 730a7a4a 编写于 作者: M Minghao Li

refactor(sync): snapshot strategy

上级 cd4bc6e3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册