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 a88b6b5 Modify cross priority param to upper case in doc (#5242)
a88b6b5 is described below
commit a88b6b5775aad29f6ac3fa4c50d5171c8ace9102
Author: 周沛辰 <[email protected]>
AuthorDate: Tue Mar 15 18:54:15 2022 +0800
Modify cross priority param to upper case in doc (#5242)
---
docs/UserGuide/Reference/Config-Manual.md | 4 ++--
docs/zh/UserGuide/Reference/Config-Manual.md | 2 +-
server/src/assembly/resources/conf/iotdb-engine.properties | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/UserGuide/Reference/Config-Manual.md
b/docs/UserGuide/Reference/Config-Manual.md
index d9b49e3..fece0eb 100644
--- a/docs/UserGuide/Reference/Config-Manual.md
+++ b/docs/UserGuide/Reference/Config-Manual.md
@@ -791,9 +791,9 @@ The permission definitions are in
${IOTDB\_CONF}/conf/jmx.access.
|Name| compaction\_priority |
|:---:|:---|
-|Description| Priority of compaction task. When it is balance, system executes
all types of compaction equally; when it is inner_cross, system takes
precedence over executing inner space compaction task; when it is cross_inner,
system takes precedence over executing cross space compaction task |
+|Description| Priority of compaction task. When it is BALANCE, system executes
all types of compaction equally; when it is INNER_CROSS, system takes
precedence over executing inner space compaction task; when it is CROSS_INNER,
system takes precedence over executing cross space compaction task |
|Type| String |
-|Default| balance|
+|Default| BALANCE|
|Effective|After restart system|
* target\_compaction\_file\_size
diff --git a/docs/zh/UserGuide/Reference/Config-Manual.md
b/docs/zh/UserGuide/Reference/Config-Manual.md
index f054516..33171bc 100644
--- a/docs/zh/UserGuide/Reference/Config-Manual.md
+++ b/docs/zh/UserGuide/Reference/Config-Manual.md
@@ -832,7 +832,7 @@ Server,客户端的使用方式详见 [SQL 命令行终端(CLI)](https://i
|:---:|:---|
|描述| 合并时的优先级,BALANCE 各种合并平等,INNER_CROSS 优先进行顺序文件和顺序文件或乱序文件和乱序文件的合并,CROSS_INNER
优先将乱序文件合并到顺序文件中 |
|类型| String |
-|默认值| balance |
+|默认值| BALANCE |
|改后生效方式|重启服务生效|
* target\_compaction\_file\_size
diff --git a/server/src/assembly/resources/conf/iotdb-engine.properties
b/server/src/assembly/resources/conf/iotdb-engine.properties
index e2dd375..e501166 100644
--- a/server/src/assembly/resources/conf/iotdb-engine.properties
+++ b/server/src/assembly/resources/conf/iotdb-engine.properties
@@ -432,10 +432,10 @@ timestamp_precision=ms
# inner_compaction_strategy=size_tiered_compaction
# The priority of compaction execution
-# inner_cross: prioritize inner space compaction, reduce the number of files
first
-# cross_inner: prioritize cross space compaction, eliminate the unsequence
files first
-# balance: alternate two compaction types
-# compaction_priority=balance
+# INNER_CROSS: prioritize inner space compaction, reduce the number of files
first
+# CROSS_INNER: prioritize cross space compaction, eliminate the unsequence
files first
+# BALANCE: alternate two compaction types
+# compaction_priority=BALANCE
# The target tsfile size in compaction
# Datatype: long, Unit: byte