fix:dead lock
This commit is contained in:
parent
e6e0ac7603
commit
a52939127f
|
@ -384,9 +384,7 @@ int32_t tqProcessPollReq(STQ* pTq, SRpcMsg* pMsg) {
|
||||||
consumerId, req.epoch, pHandle->subKey, vgId, buf, req.reqId);
|
consumerId, req.epoch, pHandle->subKey, vgId, buf, req.reqId);
|
||||||
|
|
||||||
int code = tqExtractDataForMq(pTq, pHandle, &req, pMsg);
|
int code = tqExtractDataForMq(pTq, pHandle, &req, pMsg);
|
||||||
taosWLockLatch(&pTq->lock);
|
|
||||||
tqSetHandleIdle(pHandle);
|
tqSetHandleIdle(pHandle);
|
||||||
taosWUnLockLatch(&pTq->lock);
|
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue