fix(stream): unlock when returning.
This commit is contained in:
parent
36dcdad1a5
commit
f5da458c77
|
@ -1653,6 +1653,7 @@ int32_t tqProcessStreamCheckPointSourceReq(STQ* pTq, SRpcMsg* pMsg) {
|
|||
SRpcMsg rsp = {0};
|
||||
buildCheckpointSourceRsp(&req, &pMsg->info, &rsp, 0);
|
||||
tmsgSendRsp(&rsp); // error occurs
|
||||
taosThreadMutexUnlock(&pTask->lock);
|
||||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
streamProcessCheckpointSourceReq(pTask, &req);
|
||||
|
|
Loading…
Reference in New Issue