提交 43eb7199 编写于 作者: S slzhou

enhance: log submit that takes more than 10s with warn

上级 c068b1b0
...@@ -189,7 +189,7 @@ static int32_t vnodeProcessSubmitMsg(SVnodeObj *pVnode, void *pCont, SRspRet *pR ...@@ -189,7 +189,7 @@ static int32_t vnodeProcessSubmitMsg(SVnodeObj *pVnode, void *pCont, SRspRet *pR
int64_t submitEndUs = taosGetTimestampUs(); int64_t submitEndUs = taosGetTimestampUs();
if (submitEndUs - submitStartUs > 10 * 1000000) { if (submitEndUs - submitStartUs > 10 * 1000000) {
vError("vgId: %d, insert msg takes more than 10s", pVnode->vgId); vWarn("vgId: %d, submit msg process takes more than 10s", pVnode->vgId);
} }
return code; return code;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册