提交 af4957f6 编写于 作者: C Cary Xu

chore: code optimization for rsma

上级 b2b61bab
...@@ -52,7 +52,7 @@ int vnodeBegin(SVnode *pVnode) { ...@@ -52,7 +52,7 @@ int vnodeBegin(SVnode *pVnode) {
} }
// begin sma // begin sma
if (smaBegin(pVnode->pSma) < 0) { if (VND_IS_RSMA(pVnode) && smaBegin(pVnode->pSma) < 0) {
vError("vgId:%d, failed to begin sma since %s", TD_VID(pVnode), tstrerror(terrno)); vError("vgId:%d, failed to begin sma since %s", TD_VID(pVnode), tstrerror(terrno));
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册