feat:[TD-33798]modify metadata logic for tmq
This commit is contained in:
parent
b5e673f727
commit
e87541efaa
|
@ -389,7 +389,7 @@ static int32_t extractDataAndRspForDbStbSubscribe(STQ* pTq, STqHandle* pHandle,
|
||||||
code = buildBatchMeta(&btMetaRsp, pHead->msgType, pHead->bodyLen, pHead->body);
|
code = buildBatchMeta(&btMetaRsp, pHead->msgType, pHead->bodyLen, pHead->body);
|
||||||
fetchVer++;
|
fetchVer++;
|
||||||
if (code != 0){
|
if (code != 0){
|
||||||
continue;
|
goto END;
|
||||||
}
|
}
|
||||||
totalMetaRows++;
|
totalMetaRows++;
|
||||||
if ((taosArrayGetSize(btMetaRsp.batchMetaReq) >= tmqRowSize) || (taosGetTimestampMs() - st > pRequest->timeout)) {
|
if ((taosArrayGetSize(btMetaRsp.batchMetaReq) >= tmqRowSize) || (taosGetTimestampMs() - st > pRequest->timeout)) {
|
||||||
|
@ -423,7 +423,7 @@ static int32_t extractDataAndRspForDbStbSubscribe(STQ* pTq, STqHandle* pHandle,
|
||||||
taosxRsp.createTableReq = NULL;
|
taosxRsp.createTableReq = NULL;
|
||||||
fetchVer++;
|
fetchVer++;
|
||||||
if (code != 0){
|
if (code != 0){
|
||||||
continue;
|
goto END;
|
||||||
}
|
}
|
||||||
totalMetaRows++;
|
totalMetaRows++;
|
||||||
if ((taosArrayGetSize(btMetaRsp.batchMetaReq) >= tmqRowSize) ||
|
if ((taosArrayGetSize(btMetaRsp.batchMetaReq) >= tmqRowSize) ||
|
||||||
|
|
Loading…
Reference in New Issue