fix(stream): set correct stream error code.

This commit is contained in:
Haojun Liao 2023-06-25 09:26:37 +08:00
parent 0322fdc1fc
commit 7c23630fe4
1 changed files with 1 additions and 0 deletions

View File

@ -952,6 +952,7 @@ int32_t tqProcessStreamTaskCheckRsp(STQ* pTq, int64_t sversion, SRpcMsg* pMsg) {
if (pTask == NULL) {
tqError("tq failed to locate the stream task:0x%x (vgId:%d), it may have been destroyed", rsp.upstreamTaskId,
pTq->pStreamMeta->vgId);
terrno = TSDB_CODE_STREAM_TASK_NOT_EXIST;
return -1;
}