You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/11/13 06:15:57 UTC

[iotdb] branch comment_cluster_new updated: add docs to claim which parameters are unused; set auto_create_schema as true in iotdb-engine.proeprties

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

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


The following commit(s) were added to refs/heads/comment_cluster_new by this push:
     new 8dd1bf9  add docs to claim which parameters are unused; set auto_create_schema as true in iotdb-engine.proeprties
8dd1bf9 is described below

commit 8dd1bf9cd8e639b7346d5319f077313e6ab710ab
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Fri Nov 13 14:15:34 2020 +0800

    add docs to claim which parameters are unused; set auto_create_schema as true in iotdb-engine.proeprties
---
 cluster/src/assembly/resources/conf/iotdb-engine.properties |  2 +-
 docs/UserGuide/Server/Cluster Setup.md                      |  9 +++++++++
 docs/zh/UserGuide/Server/Cluster Setup.md                   | 11 +++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/cluster/src/assembly/resources/conf/iotdb-engine.properties b/cluster/src/assembly/resources/conf/iotdb-engine.properties
index 8e2b91b..f5d18b1 100644
--- a/cluster/src/assembly/resources/conf/iotdb-engine.properties
+++ b/cluster/src/assembly/resources/conf/iotdb-engine.properties
@@ -321,7 +321,7 @@ watermark_method=GroupBasedLSBMethod(embed_row_cycle=2,embed_lsb_num=5)
 ####################
 
 # Whether creating schema automatically is enabled
-enable_auto_create_schema=false
+enable_auto_create_schema=true
 
 # Storage group level when creating schema automatically is enabled
 # e.g. root.sg0.d1.s2
diff --git a/docs/UserGuide/Server/Cluster Setup.md b/docs/UserGuide/Server/Cluster Setup.md
index 4de8fb9..38640b9 100644
--- a/docs/UserGuide/Server/Cluster Setup.md	
+++ b/docs/UserGuide/Server/Cluster Setup.md	
@@ -46,6 +46,15 @@ The currently supported items to overwrite the original configurations when star
 `internal_meta_port, internal_data_port, cluster_rpc_port, seed_nodes`. 
 When both exist, the specified configuration item will overwrite the configurations in the configuration file.
 
+## OverWrite the configurations of Stand-alone node
+
+Some configurations in the iotdb-engines.properties will be ignored
+
+* `enable_auto_create_schema` is always considered as `false`. Use `enable_auto_create_schema` in 
+ iotdb-cluster.properties to enable it, instead.
+
+* `is_sync_enable` is always considered as `false`.
+
 ## Cluster Configuration Items
 Before starting to use IoTDB, you need to config the configuration files first. 
 For your convenience, we have already set the default config in the files.
diff --git a/docs/zh/UserGuide/Server/Cluster Setup.md b/docs/zh/UserGuide/Server/Cluster Setup.md
index a6423e5..a5c11dc 100644
--- a/docs/zh/UserGuide/Server/Cluster Setup.md	
+++ b/docs/zh/UserGuide/Server/Cluster Setup.md	
@@ -41,6 +41,17 @@ or
 目前支持的启动覆盖原有配置的配置项有:
 `internal_meta_port、internal_data_port、cluster_rpc_port、seed_nodes`。当配置文件和配置项都被指定的时候,指定配置项的配置会覆盖配置文件中的配置。
 
+## 被覆盖的单机版选项
+
+iotdb-engines.properties配置文件中的部分内容会不再生效:
+
+* `enable_auto_create_schema` 不再生效,并被视为`false`. 应使用 iotdb-cluster.properties 中的  
+`enable_auto_create_schema` 来控制是否自动创建序列。
+
+
+* `is_sync_enable` 不再生效,并被视为 `false`.
+
+
 ## 配置项
 
 为方便IoTDB Server的配置与管理,IoTDB Server为用户提供三种配置项,使得您可以在启动服务器或服务器运行时对其进行配置。