提交 9b8a7d11 编写于 作者: C Cary Xu

other: add logs when read blk info

上级 7930260f
...@@ -239,7 +239,7 @@ int tsdbLoadBlockInfo(SReadH *pReadh, void *pTarget) { ...@@ -239,7 +239,7 @@ int tsdbLoadBlockInfo(SReadH *pReadh, void *pTarget) {
int nBlks = (pBlkIdx->len - sizeof(SBlockInfo)) / sizeof(SBlock); int nBlks = (pBlkIdx->len - sizeof(SBlockInfo)) / sizeof(SBlock);
for (int n = 0; n < nBlks; ++n) { for (int n = 0; n < nBlks; ++n) {
pBlk = &pBlkInfo->blocks[n]; pBlk = &pBlkInfo->blocks[n];
if (pBlk->numOfSubBlocks == 1) { if (pBlk->numOfSubBlocks >= 1) {
tsdbDebug("prop:vgId:%d, file %s , offset:%u len :%u has %d rows", TSDB_READ_REPO_ID(pReadh), tsdbDebug("prop:vgId:%d, file %s , offset:%u len :%u has %d rows", TSDB_READ_REPO_ID(pReadh),
TSDB_FILE_FULL_NAME(pHeadf), pBlkIdx->offset, pBlkIdx->len, pBlk->numOfRows); TSDB_FILE_FULL_NAME(pHeadf), pBlkIdx->offset, pBlkIdx->len, pBlk->numOfRows);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册