You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/01/20 11:01:28 UTC

[iotdb] 01/01: [IOTDB-2457] Remove setting and doc of FILE_TIME_INDEX

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

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

commit d22bcf2c3e20e9a10786fce45409a0f19f83e046
Author: HTHou <hh...@outlook.com>
AuthorDate: Thu Jan 20 19:00:41 2022 +0800

    [IOTDB-2457] Remove setting and doc of FILE_TIME_INDEX
---
 docs/zh/UserGuide/Reference/Config-Manual.md                      | 8 --------
 .../src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java   | 3 ---
 2 files changed, 11 deletions(-)

diff --git a/docs/zh/UserGuide/Reference/Config-Manual.md b/docs/zh/UserGuide/Reference/Config-Manual.md
index b41ba79..da13fb3 100644
--- a/docs/zh/UserGuide/Reference/Config-Manual.md
+++ b/docs/zh/UserGuide/Reference/Config-Manual.md
@@ -619,14 +619,6 @@ Server,客户端的使用方式详见 [SQL 命令行终端(CLI)](https://i
 |默认值| 3600 |
 |改后生效方式|重启服务生效|
 
-* time\_index\_level
-
-|名字| time\_index\_level |
-|:---:|:---|
-|描述| TimeIndex的级别,记录了TsFileResource的开始时间和结束时间。 目前,支持 DEVICE_TIME_INDEX 和 FILE_TIME_INDEX,第一次设置后无法更改。 |
-|类型| String |
-|默认值| DEVICE_TIME_INDEX |
-|改后生效方式|触发生效|
 
 ### 内存控制配置
 
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 9c690ef..f46671b 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
@@ -620,9 +620,6 @@ public class IoTDBDescriptor {
                   "concurrent_writing_time_partition",
                   String.valueOf(conf.getConcurrentWritingTimePartition()))));
 
-      conf.setTimeIndexLevel(
-          properties.getProperty("time_index_level", String.valueOf(conf.getTimeIndexLevel())));
-
       // the default fill interval in LinearFill and PreviousFill
       conf.setDefaultFillInterval(
           Integer.parseInt(