From 78e8988c9fbc66cfc57c5c2d453863f7c5f6d7fb Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Thu, 21 Jan 2021 15:40:50 +0800 Subject: [PATCH] fix a small bug --- src/tsdb/src/tsdbCommit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/tsdb/src/tsdbCommit.c b/src/tsdb/src/tsdbCommit.c index 1470d13b90..df9983c341 100644 --- a/src/tsdb/src/tsdbCommit.c +++ b/src/tsdb/src/tsdbCommit.c @@ -836,8 +836,6 @@ static int tsdbWriteBlock(SCommitH *pCommith, SDFile *pDFile, SDataCols *pDataCo pBlock->keyFirst = dataColsKeyFirst(pDataCols); pBlock->keyLast = dataColsKeyLast(pDataCols); - pDFile->info.size += pBlock->len; - tsdbDebug("vgId:%d tid:%d a block of data is written to file %s, offset %" PRId64 " numOfRows %d len %d numOfCols %" PRId16 " keyFirst %" PRId64 " keyLast %" PRId64, REPO_ID(pRepo), TABLE_TID(pTable), TSDB_FILE_FULL_NAME(pDFile), offset, rowsToWrite, pBlock->len, -- GitLab