This is an automated email from the ASF dual-hosted git repository.
qiaojialin 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 7ecccf5 [IOTDB-1293] Message of enable_partition cannot be modified
after iotdb started should be more clear (#3075)
7ecccf5 is described below
commit 7ecccf50ae46ea0f62bfbfa37525797ad1efee0c
Author: Haonan <[email protected]>
AuthorDate: Tue Apr 27 15:11:59 2021 +0800
[IOTDB-1293] Message of enable_partition cannot be modified after iotdb
started should be more clear (#3075)
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git
a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
index d7ce4e5..ffbba6e 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
@@ -300,6 +300,10 @@ public class IoTDBConfigCheck {
printErrorLogAndExit(TIMESTAMP_PRECISION_STRING);
}
+ if (Boolean.parseBoolean(properties.getProperty(ENABLE_PARTITION_STRING))
!= enablePartition) {
+ printErrorLogAndExit(ENABLE_PARTITION_STRING);
+ }
+
if (Long.parseLong(properties.getProperty(PARTITION_INTERVAL_STRING)) !=
partitionInterval) {
printErrorLogAndExit(PARTITION_INTERVAL_STRING);
}