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:28:22 UTC

[iotdb] branch rel/1.0 updated: [To rel/1.0][IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8475)

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

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


The following commit(s) were added to refs/heads/rel/1.0 by this push:
     new f6fbaffb75 [To rel/1.0][IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8475)
f6fbaffb75 is described below

commit f6fbaffb75cb10c25e2fa07a091179de4fdedb7f
Author: 周沛辰 <45...@users.noreply.github.com>
AuthorDate: Wed Dec 21 21:28:17 2022 +0800

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

diff --git a/node-commons/src/assembly/resources/conf/iotdb-common.properties b/node-commons/src/assembly/resources/conf/iotdb-common.properties
index ade94033b9..f4147b8bd1 100644
--- a/node-commons/src/assembly/resources/conf/iotdb-common.properties
+++ b/node-commons/src/assembly/resources/conf/iotdb-common.properties
@@ -582,7 +582,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 b5a38eee8d..fd0dc0d998 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
@@ -632,7 +632,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(