You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2021/10/14 02:07:47 UTC

[iotdb] branch rel/0.12 updated: [IOTDB-1838] The compacting status in SGP is always false (#4148)

This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/rel/0.12 by this push:
     new 5d67a12  [IOTDB-1838] The compacting status in SGP is always false (#4148)
5d67a12 is described below

commit 5d67a12ef9b8ff1ad881a05791415efb81bad13a
Author: xinzhongtianxia <45...@qq.com>
AuthorDate: Thu Oct 14 10:07:18 2021 +0800

    [IOTDB-1838] The compacting status in SGP is always false (#4148)
    
    Co-authored-by: 还真 <hu...@alibaba-inc.com>
---
 .../org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
index c6399ef..a324335 100755
--- a/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
+++ b/server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
@@ -2153,6 +2153,7 @@ public class StorageGroupProcessor {
     }
     try {
       if (config.getCompactionStrategy() == CompactionStrategy.LEVEL_COMPACTION) {
+        compacting = true;
         new CompactionAllPartitionTask(logicalStorageGroupName).call();
       }
     } finally {
@@ -2161,7 +2162,7 @@ public class StorageGroupProcessor {
   }
 
   /**
-   * Load a new tsfile to storage group processor. Tne file may have overlap with other files.
+   * Load a new tsfile to storage group processor. The file may have overlap with other files.
    *
    * <p>or unsequence list.
    *