You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ma...@apache.org on 2022/12/21 13:27:52 UTC

[iotdb] branch master updated: [IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8476)

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

marklau99 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 5020bb1982 [IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8476)
5020bb1982 is described below

commit 5020bb1982c4d9275d8265ceebc58d11c519ef2b
Author: 周沛辰 <45...@users.noreply.github.com>
AuthorDate: Wed Dec 21 21:27:46 2022 +0800

    [IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8476)
---
 node-commons/src/assembly/resources/conf/iotdb-common.properties   | 2 +-
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/node-commons/src/assembly/resources/conf/iotdb-common.properties b/node-commons/src/assembly/resources/conf/iotdb-common.properties
index aaee013c98..48f87a76a9 100644
--- a/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++ b/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -577,7 +577,7 @@
 # Datatype: long, Unit:byte
 # chunk_size_lower_bound_in_compaction=128
 
-# If the chunk size is lower than this threshold, it will be deserialize into points
+# If the chunk point num is lower than this threshold, it will be deserialize into points
 # Datatype: long
 # chunk_point_num_lower_bound_in_compaction=100
 
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 96440077ce..678c26da0f 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
@@ -624,7 +624,7 @@ public class IoTDBDescriptor {
     conf.setChunkPointNumLowerBoundInCompaction(
         Long.parseLong(
             properties.getProperty(
-                "chunk_size_lower_bound_in_compaction",
+                "chunk_point_num_lower_bound_in_compaction",
                 Long.toString(conf.getChunkPointNumLowerBoundInCompaction()))));
     conf.setChunkSizeLowerBoundInCompaction(
         Long.parseLong(
@@ -1432,7 +1432,6 @@ public class IoTDBDescriptor {
               properties.getProperty(
                   "compaction_io_rate_per_sec",
                   Integer.toString(conf.getCompactionIORatePerSec()))));
-
       // update insert-tablet-plan's row limit for select-into
       conf.setSelectIntoInsertTabletPlanRowLimit(
           Integer.parseInt(