提交 9ebe7104 编写于 作者: D dmchen

invalid message

上级 16afb90e
...@@ -396,7 +396,7 @@ int32_t vmProcessAlterVnodeTypeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) { ...@@ -396,7 +396,7 @@ int32_t vmProcessAlterVnodeTypeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) {
} }
SReplica *pReplica = NULL; SReplica *pReplica = NULL;
if(req.selfIndex > 0){ if(req.selfIndex != -1){
pReplica = &req.replicas[req.selfIndex]; pReplica = &req.replicas[req.selfIndex];
} }
else{ else{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册