invalid message

This commit is contained in:
dmchen 2023-05-12 15:21:30 +08:00
parent 16afb90ef1
commit 9ebe710480
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ int32_t vmProcessAlterVnodeTypeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) {
}
SReplica *pReplica = NULL;
if(req.selfIndex > 0){
if(req.selfIndex != -1){
pReplica = &req.replicas[req.selfIndex];
}
else{