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:11 UTC
[iotdb] branch rel/0.13 updated: [To rel/0.13][IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8477)
This is an automated email from the ASF dual-hosted git repository.
marklau99 pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.13 by this push:
new fe4d3d4a3a [To rel/0.13][IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8477)
fe4d3d4a3a is described below
commit fe4d3d4a3a4bdef71eeee7230a8cc2231cbeb486
Author: 周沛辰 <45...@users.noreply.github.com>
AuthorDate: Wed Dec 21 21:28:05 2022 +0800
[To rel/0.13][IOTDB-5215]Fix setting chunkPointNumLowerBound in IoTDBDescriptor (#8477)
---
server/src/assembly/resources/conf/iotdb-engine.properties | 2 +-
server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties b/server/src/assembly/resources/conf/iotdb-engine.properties
index 83ba83c639..03abaf0b15 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -473,7 +473,7 @@ timestamp_precision=ms
# 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 1526260ce7..2616bbb15e 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
@@ -567,7 +567,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(