提交 7e85a15c 编写于 作者: S Shengliang Guan

fix: do not process query and fetch msg until vnode restore finished

上级 4223be37
...@@ -805,7 +805,7 @@ bool vnodeIsReadyForRead(SVnode *pVnode) { ...@@ -805,7 +805,7 @@ bool vnodeIsReadyForRead(SVnode *pVnode) {
return true; return true;
} }
if (pVnode->restored) { if (!pVnode->restored) {
vDebug("vgId:%d, vnode restore not finished", pVnode->config.vgId); vDebug("vgId:%d, vnode restore not finished", pVnode->config.vgId);
terrno = TSDB_CODE_APP_NOT_READY; terrno = TSDB_CODE_APP_NOT_READY;
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册