fix(stream): add some logs.
This commit is contained in:
parent
aa7ea60bca
commit
3cef1e7c42
|
@ -207,7 +207,7 @@ int32_t streamTaskOutputResultBlock(SStreamTask* pTask, SStreamDataBlock* pBlock
|
||||||
} else {
|
} else {
|
||||||
ASSERT(pTask->outputType == TASK_OUTPUT__FIXED_DISPATCH || pTask->outputType == TASK_OUTPUT__SHUFFLE_DISPATCH);
|
ASSERT(pTask->outputType == TASK_OUTPUT__FIXED_DISPATCH || pTask->outputType == TASK_OUTPUT__SHUFFLE_DISPATCH);
|
||||||
code = taosWriteQitem(pTask->outputQueue->queue, pBlock);
|
code = taosWriteQitem(pTask->outputQueue->queue, pBlock);
|
||||||
if (code != 0) {
|
if (code != 0) { // todo failed to add it into the output queue, free it.
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,8 +59,6 @@ static int32_t doDumpResult(SStreamTask* pTask, SStreamQueueItem* pItem, SArray*
|
||||||
|
|
||||||
*totalSize += size;
|
*totalSize += size;
|
||||||
*totalBlocks += numOfBlocks;
|
*totalBlocks += numOfBlocks;
|
||||||
|
|
||||||
// destroyStreamDataBlock(pStreamBlocks);
|
|
||||||
} else {
|
} else {
|
||||||
taosArrayDestroyEx(pRes, (FDelete)blockDataFreeRes);
|
taosArrayDestroyEx(pRes, (FDelete)blockDataFreeRes);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue