fix:dead lock

This commit is contained in:
wangmm0220 2023-05-16 17:58:31 +08:00
parent e6e0ac7603
commit a52939127f
1 changed files with 0 additions and 2 deletions

View File

@ -384,9 +384,7 @@ int32_t tqProcessPollReq(STQ* pTq, SRpcMsg* pMsg) {
consumerId, req.epoch, pHandle->subKey, vgId, buf, req.reqId);
int code = tqExtractDataForMq(pTq, pHandle, &req, pMsg);
taosWLockLatch(&pTq->lock);
tqSetHandleIdle(pHandle);
taosWUnLockLatch(&pTq->lock);
return code;
}