tqDebug("tmq poll: consumer:0x%"PRIx64"vgId:%d, topic:%s, set handle exec, pHandle:%p",consumerId,vgId,req.subKey,pHandle);
taosWUnLockLatch(&pTq->lock);
break;
}
taosWUnLockLatch(&pTq->lock);
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);
taosMsleep(10);
}
// 3. update the epoch value
int32_tsavedEpoch=pHandle->epoch;
if(savedEpoch<reqEpoch){
tqDebug("tmq poll: consumer:0x%"PRIx64" epoch update from %d to %d by poll req",consumerId,savedEpoch,
reqEpoch);
if(pHandle->epoch<reqEpoch){
tqDebug("tmq poll: consumer:0x%"PRIx64" epoch update from %d to %d by poll req",consumerId,pHandle->epoch,reqEpoch);