diff --git a/source/dnode/vnode/src/tsdb/tsdbRead.c b/source/dnode/vnode/src/tsdb/tsdbRead.c index e919593f90b755d2fb24e581de02248c69543fa5..04f2a14bce9fdbacdc37bede24ed2d4357dbc23a 100644 --- a/source/dnode/vnode/src/tsdb/tsdbRead.c +++ b/source/dnode/vnode/src/tsdb/tsdbRead.c @@ -38,7 +38,7 @@ typedef struct { typedef struct SBlockIndex { int32_t ordinalIndex; int64_t inFileOffset; - STimeWindow window; + STimeWindow window; // todo replace it with overlap flag. } SBlockIndex; typedef struct STableBlockScanInfo { @@ -1440,6 +1440,7 @@ static int32_t setFileBlockActiveInBlockIter(SDataBlockIter* pBlockIter, int32_t return TSDB_CODE_SUCCESS; } +// todo: this attribute could be acquired during extractin the global ordered block list. static bool overlapWithNeighborBlock(SDataBlk* pBlock, SBlockIndex* pNeighborBlockIndex, int32_t order) { // it is the last block in current file, no chance to overlap with neighbor blocks. if (ASCENDING_TRAVERSE(order)) {