Skip to content

Commit

Permalink
Merge pull request #22407 from taosdata/fix/TD-25671
Browse files Browse the repository at this point in the history
fix: infinite tomb data sync loop
  • Loading branch information
gccgdb1234 committed Aug 14, 2023
2 parents 01ac99a + 847bc0d commit 1b51f53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/dnode/vnode/src/tsdb/tsdbSnapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,9 @@ static int32_t tsdbSnapReadTombData(STsdbSnapReader* reader, uint8_t** data) {
code = tTombBlockPut(reader->tombBlock, record);
TSDB_CHECK_CODE(code, lino, _exit);

code = tsdbIterMergerNext(reader->tombIterMerger);
TSDB_CHECK_CODE(code, lino, _exit);

if (TOMB_BLOCK_SIZE(reader->tombBlock) >= 81920) {
break;
}
Expand Down

0 comments on commit 1b51f53

Please sign in to comment.