fix: next merger iter of tombs in loop of tsdbSnapWriteTombRecord

This commit is contained in:
Benguang Zhao 2023-09-07 17:14:22 +08:00
parent 615c619bba
commit 2d5b18039d
1 changed files with 3 additions and 0 deletions

View File

@ -857,6 +857,9 @@ static int32_t tsdbSnapWriteTombRecord(STsdbSnapWriter* writer, const STombRecor
} else {
break;
}
code = tsdbIterMergerNext(writer->ctx->tombIterMerger);
TSDB_CHECK_CODE(code, lino, _exit);
}
if (record->suid == INT64_MAX) {