fix(stream): release task.

This commit is contained in:
Haojun Liao 2023-08-25 10:33:15 +08:00
parent 35193020dd
commit 38bb123701
1 changed files with 1 additions and 0 deletions

View File

@ -1752,6 +1752,7 @@ int32_t tqProcessStreamCheckPointSourceReq(STQ* pTq, SRpcMsg* pMsg) {
if (pTask->status.downstreamReady != 1) {
qError("s-task:%s not ready for checkpoint, since downstream not ready, ignore this checkpoint:%" PRId64
", set it failure", pTask->id.idStr, req.checkpointId);
streamMetaReleaseTask(pMeta, pTask);
SRpcMsg rsp = {0};
buildCheckpointSourceRsp(&req, &pMsg->info, &rsp, 0);