提交 cc9b9bd0 编写于 作者: M Minglei Jin

fix(tsdb/cache): move to stt next row if data file exausted

上级 a72c11c8
...@@ -2074,7 +2074,14 @@ static int32_t getNextRowFromFS(void *iter, TSDBROW **ppRow, bool *pIgnoreEarlie ...@@ -2074,7 +2074,14 @@ static int32_t getNextRowFromFS(void *iter, TSDBROW **ppRow, bool *pIgnoreEarlie
if (SFSNEXTROW_INDEXLIST == state->state) { if (SFSNEXTROW_INDEXLIST == state->state) {
SBrinBlk *pBrinBlk = NULL; SBrinBlk *pBrinBlk = NULL;
_next_brinindex: _next_brinindex:
if (--state->iBrinIndex < 0) { // no index left, goto next fileset if (--state->iBrinIndex < 0) {
if (state->pLastRow) {
state->state = SFSNEXTROW_NEXTSTTROW;
*ppRow = state->pLastRow;
state->pLastRow = NULL;
return code;
}
clearLastFileSet(state); clearLastFileSet(state);
goto _next_fileset; goto _next_fileset;
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册