未验证 提交 15308ad1 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #17820 from taosdata/fix/msg_compat

fix(vnode): ignore unhandled msg
...@@ -285,8 +285,8 @@ int32_t vnodeProcessWriteMsg(SVnode *pVnode, SRpcMsg *pMsg, int64_t version, SRp ...@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册