fix(stream): disable the deploy msg when restart taosd.

This commit is contained in:
Haojun Liao 2023-04-11 16:58:51 +08:00
parent 18479d8115
commit aae2758863
1 changed files with 1 additions and 1 deletions

View File

@ -400,7 +400,7 @@ int32_t vnodeProcessWriteMsg(SVnode *pVnode, SRpcMsg *pMsg, int64_t version, SRp
}
break;
case TDMT_STREAM_TASK_DEPLOY: {
if (tqProcessTaskDeployReq(pVnode->pTq, version, pReq, len) < 0) {
if (pVnode->restored && tqProcessTaskDeployReq(pVnode->pTq, version, pReq, len) < 0) {
goto _err;
}
} break;