diff --git a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c index 42dfb873d31f0a59518d63ea0306edccbb34d35b..e2e2323bdb6d235b5f8d0d93b2f8df7ae1446190 100644 --- a/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c +++ b/source/dnode/mgmt/mgmt_vnode/src/vmHandle.c @@ -333,7 +333,7 @@ int32_t vmProcessAlterVnodeTypeReq(SVnodeMgmt *pMgmt, SRpcMsg *pMsg) { } dInfo("vgId:%d, checking node catch up", req.vgId); - if(!vnodeIsCatchUp(pVnode->pImpl) == 0){ + if(vnodeIsCatchUp(pVnode->pImpl) != 0){ return -1; }