You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ca...@apache.org on 2022/12/01 10:32:26 UTC

[iotdb] branch beyyes/1.0_fixbug created (now 3289da972d)

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

caogaofei pushed a change to branch beyyes/1.0_fixbug
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 3289da972d remove least_data_region_group_num check

This branch includes the following new commits:

     new 3289da972d remove least_data_region_group_num check

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: remove least_data_region_group_num check

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

caogaofei pushed a commit to branch beyyes/1.0_fixbug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 3289da972dd67892b03a48eaad7240121a74e866
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Thu Dec 1 18:32:12 2022 +0800

    remove least_data_region_group_num check
---
 .../main/java/org/apache/iotdb/confignode/manager/ConfigManager.java   | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java b/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
index 7926195897..24c3b587e7 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
@@ -786,9 +786,6 @@ public class ConfigManager implements IManager {
         != CommonDescriptor.getInstance().getConfig().getDiskSpaceWarningThreshold()) {
       return errorStatus.setMessage(errorPrefix + "disk_space_warning_threshold" + errorSuffix);
     }
-    if (req.getLeastDataRegionGroupNum() != conf.getLeastDataRegionGroupNum()) {
-      return errorStatus.setMessage(errorPrefix + "least_data_region_group_num" + errorSuffix);
-    }
     return null;
   }