From 999d32cdbda788b254d549d3149340997e11f6eb Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Thu, 15 Sep 2022 17:59:09 +0800 Subject: [PATCH] chore: revert the code change --- include/libs/tfs/tfs.h | 2 +- source/dnode/vnode/src/tsdb/tsdbFS.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libs/tfs/tfs.h b/include/libs/tfs/tfs.h index 2edb046492..6f71fd4cd0 100644 --- a/include/libs/tfs/tfs.h +++ b/include/libs/tfs/tfs.h @@ -70,7 +70,7 @@ void tfsUpdateSize(STfs *pTfs); SDiskSize tfsGetSize(STfs *pTfs); /** - * @brief Get level of multi-tier storage + * @brief Get level of multi-tier storage. * * @param pTfs * @return int32_t diff --git a/source/dnode/vnode/src/tsdb/tsdbFS.c b/source/dnode/vnode/src/tsdb/tsdbFS.c index ab16147337..10926ae6ad 100644 --- a/source/dnode/vnode/src/tsdb/tsdbFS.c +++ b/source/dnode/vnode/src/tsdb/tsdbFS.c @@ -1033,7 +1033,7 @@ int32_t tsdbFSCommit2(STsdb *pTsdb, STsdbFS *pFSNew) { code = TSDB_CODE_OUT_OF_MEMORY; goto _err; } - + iOld++; iNew++; continue; } -- GitLab