You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/02/11 03:08:40 UTC

[iotdb] branch IOTDB-2533-0.12 created (now a3896ef)

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

jackietien pushed a change to branch IOTDB-2533-0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


      at a3896ef  [To rel/0.12] [IOTDB-2533] Fix change max_deduplicated_path_num does not take effect

This branch includes the following new commits:

     new a3896ef  [To rel/0.12] [IOTDB-2533] Fix change max_deduplicated_path_num does not take effect

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: [To rel/0.12] [IOTDB-2533] Fix change max_deduplicated_path_num does not take effect

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

jackietien pushed a commit to branch IOTDB-2533-0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit a3896efba22c45adbc52e1d6f08fe70f4576564a
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Fri Feb 11 11:07:48 2022 +0800

    [To rel/0.12] [IOTDB-2533] Fix change max_deduplicated_path_num does not take effect
---
 .../main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index 66b6fbe..6c4731b 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -1234,6 +1234,12 @@ public class IoTDBDescriptor {
     logger.info("allocateMemoryForWrite = {}", conf.getAllocateMemoryForWrite());
     logger.info("allocateMemoryForSchema = {}", conf.getAllocateMemoryForSchema());
 
+    conf.setMaxQueryDeduplicatedPathNum(
+        Integer.parseInt(
+            properties.getProperty(
+                "max_deduplicated_path_num",
+                Integer.toString(conf.getMaxQueryDeduplicatedPathNum()))));
+
     if (!conf.isMetaDataCacheEnable()) {
       return;
     }
@@ -1263,12 +1269,6 @@ public class IoTDBDescriptor {
         }
       }
     }
-
-    conf.setMaxQueryDeduplicatedPathNum(
-        Integer.parseInt(
-            properties.getProperty(
-                "max_deduplicated_path_num",
-                Integer.toString(conf.getMaxQueryDeduplicatedPathNum()))));
   }
 
   @SuppressWarnings("squid:S3518") // "proportionSum" can't be zero