Merge pull request #17820 from taosdata/fix/msg_compat

fix(vnode): ignore unhandled msg
This commit is contained in:
Shengliang Guan 2022-11-02 08:37:08 +08:00 committed by GitHub
commit 15308ad140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -285,8 +285,8 @@ int32_t vnodeProcessWriteMsg(SVnode *pVnode, SRpcMsg *pMsg, int64_t version, SRp
case TDMT_VND_COMMIT: case TDMT_VND_COMMIT:
goto _do_commit; goto _do_commit;
default: default:
ASSERT(0); vError("vgId:%d, unprocessed msg, %d", TD_VID(pVnode), pMsg->msgType);
break; return -1;
} }
vTrace("vgId:%d, process %s request, code:0x%x index:%" PRId64, TD_VID(pVnode), TMSG_INFO(pMsg->msgType), pRsp->code, vTrace("vgId:%d, process %s request, code:0x%x index:%" PRId64, TD_VID(pVnode), TMSG_INFO(pMsg->msgType), pRsp->code,