From 9be13427f665269841a90d9aa6a84af128153776 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Wed, 28 Jun 2023 17:01:08 +0800 Subject: [PATCH] fix tomb record loss bug --- source/dnode/vnode/src/tsdb/tsdbSttFileRW.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dnode/vnode/src/tsdb/tsdbSttFileRW.c b/source/dnode/vnode/src/tsdb/tsdbSttFileRW.c index b09ab71e08..d3c99496c9 100644 --- a/source/dnode/vnode/src/tsdb/tsdbSttFileRW.c +++ b/source/dnode/vnode/src/tsdb/tsdbSttFileRW.c @@ -964,7 +964,7 @@ int32_t tsdbSttFileWriteTombRecord(SSttFileWriter *writer, const STombRecord *re if (!writer->ctx->opened) { code = tsdbSttFWriterDoOpen(writer); - return code; + TSDB_CHECK_CODE(code, lino, _exit); } else { if (writer->blockData->nRow > 0) { code = tsdbSttFileDoWriteBlockData(writer); -- GitLab