tqError("tmq poll: consumer:0x%"PRIx64" vgId:%d subkey %s not found",consumerId,vgId,req.subKey);
if(pHandle==NULL){
terrno=TSDB_CODE_INVALID_MSG;
tqError("tmq poll: consumer:0x%"PRIx64" vgId:%d subkey %s not found",consumerId,vgId,req.subKey);
terrno=TSDB_CODE_INVALID_MSG;
taosWUnLockLatch(&pTq->lock);
return-1;
}
boolexec=tqIsHandleExec(pHandle);
if(!exec){
tqSetHandleExec(pHandle);
taosWUnLockLatch(&pTq->lock);
break;
}
taosWUnLockLatch(&pTq->lock);
taosWUnLockLatch(&pTq->lock);
return-1;
}
while(tqIsHandleExec(pHandle)){
tqDebug("tmq poll: consumer:0x%"PRIx64"vgId:%d, topic:%s, subscription is executing, wait for 5ms and retry, pHandle:%p",consumerId,vgId,req.subKey,pHandle);
tqDebug("tmq poll: consumer:0x%"PRIx64"vgId:%d, topic:%s, subscription is executing, wait for 5ms and retry, pHandle:%p",consumerId,vgId,req.subKey,pHandle);