You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ge...@apache.org on 2020/11/23 05:20:55 UTC

[iotdb] branch http_v2 updated (3cd30f2 -> 0efa4c4)

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

geniuspig pushed a change to branch http_v2
in repository https://gitbox.apache.org/repos/asf/iotdb.git.


    from 3cd30f2  update according to review
     add 36b332d  Remove mqtt log and add InsertRowPlan check (#1916)
     add 5851ac9  [IOTDB-973] fix bug when start-cli with -e parameter (#1908)
     add b7b293f  Add more query log (#1918)
     add b5fcd7f  [IOTDB-971] More precise error messages of slimit and soffset (#1913)
     add 9f09a93  [IOTDB-975] Fix reading file error in getChunkMetadataList (#1920)
     add 6e67357  add solution for network broken when downloading thrift files from github (#1921)
     add 04d3ac0  [IOTDB-776] Control the memory usage of flushing the memtable (#1524)
     add 9f83279  update AbstractCli (#1926)
     add 99c421e  fix compaction recover when restart (#1928)
     add 1961dde  More precise fetch size on query while calculating query memory footprint (#1927)
     add e4e5a90  add changelist files in server (#1933)
     add 284f8a7  remove useless line (#1932)
     add 8576a5e  add docker file for 0.11 (#1934)
     add 20d0c49  remove compaction read limiter (#1930)
     add 804de2d  add release note 0.11 (#1936)
     add 472eaea  fix  mlogs with special characters like comma bug
     add 8eb954e  fix  mlogs with special characters like comma bug (#1935)
     add 3606aaa  Fix time zone in python session (#1937)
     add e0bd43c  Python session time zone example (#1938)
     add 04d60f7  remove incubator in md
     add 49976b0  refactor the packaging structure of Python API module on Pypi (#1939)
     add 4696f0f  change seq level to 3
     add 7359c53  remove incubating in release notes
     add abdf14e  check unclosed old files before upgrading to 0.11 (#1940)
     add f273ac3  [IOTDB-982] Solve tag bug (#1943)
     add 82172b9  change a log level (#1947)
     add 30583d8  Count timeseries group by level bug (#1951)
     add 8e5e6df  fix typo
     add fca1ace  [IOTDB-983] Add file changelist of WAL (#1954)
     add 41a6e2b  add mlog-changelist and system.properties-changelist (#1948)
     add dd17e87  add conf-changelist (#1945)
     add 21b61ad  [IOTDB-978]lsof does not exist in stop-server.sh (#1955)
     add 29f546e  Fix the risk of array out of bounds in MTree
     add 55dbbcc  fix does not compact unseq files bug (#1949)
     add 52b574c  update merge_page_point_number to 100 in config (#1960)
     add a517196  fix some mem control bugs (#1957)
     add eb22e3f  [IOTDB-974] Convert tables from HTML language to markdown grammar in all md files (#1944)
     add f1aba78  Allow keyword in path (#1962)
     add c0d731d  add enable unseq compaction (#1972)
     add 206ae5d  Fix mem control step 2 (#1970)
     add cce61a2  [IOTDB-985] Unclear message when password is wrong (#1973)
     add 5fecbdd  try to fix unseq merge ci bug
     add 6489630  fix travis closing some ports failed (#1967)
     add e5418c4  IOTDB-986 when path node is empty, throw an exception (#1965)
     add 326e130  reopen website checker on Travis (#1978)
     add 8df4d57  optimize max_time with value filter (#1979)
     add 0bd3bdc  Fix compaction resource not delete bug (#1980)
     add 8e0315d  [IOTDB-987]Add plan integrity check (#1969)
     add 1c78fa2  fix nullpointer exception if no password is set when login (#1975)
     add bf3a4c7  Fix compaction unseq concurrent bug (#1982)
     add 766af3b  Fix dependencies Convergence for packaing  (#1983)
     add 126cb4c  Fix resource leak in ServerArgument (#1963)
     add 629c15f  fix doc not found in the website (#1988)
     add 9f794d6  update change lists of role, user, and TsFileResource (#1984)
     add f4a7f3c  fix travis (#1991)
     add b42ec04  [IOTDB-993] Fix tlog null pointer bug (#1986)
     add c2e69c9  stop print query frequency if no query happened (#1993)
     add 6b2af78  fix iotdb 994 to master
     add a9edc8b  return a new one
     add ba64810  fix tests
     add c0f992e  fix typo
     add 1620b71  Merge pull request #1999 from Alima777/iotdb994ToMaster
     add 5bbbdbd  Fix compaction  delete resource file bug (#1997)
     add a874403  fix recover resource bug (#2003)
     add feb2001  Fix code smell (#2004)
     add f8b3d1c  correct errors in the documents (#1989)
     add 5724bda  fix reconnect cannot get queryId bug (#2009)
     add d5be2f9  Fix recover resource level bug (#2007)
     add 270df43  Add tsfile structure graph (#2023)
     add adcb89c  [IOTDB-1000] Read redundant data while select with value filter with unseq data (#2020)
     add ff2c0c8  Fix resource leak in FileLoaderManager (#2015)
     add 0ad7f05  add left menu of order by time query in chinese language (#2000)
     add 1e5a663  Delete useless measurementSchema to reduce memory footprint (#2001)
     add 3684e72  fix query load ChunkMetadata nullpointer bug (#2031)
     add 954336c  Rel 0.11 fix (#2017) (#2035)
     add 96e548c  Fix session user config bug (#2037)
     add 420bdc3  Fix the problem of formatting debug information in MManager (#2028)
     add b762149  fix get total memory size
     add 3dd4dc6  fix
     add a5af774  Merge pull request #2021 from LebronAl/fix_tsServiceImpl_response
     add 32c0432  Add QQ group and wechat group in README and official website (#2044)
     add 321dcf4  Create sonar_and_coverall.yml
     add a076e74  Update sonar_and_coverall.yml
     add 56ab924  Add Sonar and Coveralls Check using Github Action (#2052)
     add 70b7182  try-github-action-to-replace-travis (#2051)
     add 011c434  fix session pool bug when someone call pool.close
     add 8ce9467  add tset case
     add 26f6daf  change notifyAll to notify to save CPU
     add 73eaf17  fix some code smell
     add 271f692  Merge pull request #2049 from apache/fix_session_pool
     add 5b653a4  Remove unnecessary delete path check
     add 84c1f9c  Merge pull request #2056 from wshao08/del_fix
     add 07ab57d  fix filechannal force and interrupting-related exception(#2038)
     add b84c5a6  fix level compaction file not exist bug (#2061)
     add 7fb0d5e  [IOTDB-990] cli parameter maxPRC shouldn't to be set zero (#2045)
     add 84de3f8  change some mem control default parameters (#2054)
     add 1229b86  [IoTDB-804] Index framework: from SQL to PhysicalPlan (#2024)
     add 6fcc4b8  Fix thread safety issues in SyncServerManager (#2027)
     add 3969132  Refactor LastQueryExecutor to separate the execution into multiple stages
     add 370a06b  Fix codesmell
     add 26508e9  Fix some issues
     add 9b2e4ab  Fix review issues
     add 12f569d  Fix error in MTree
     add e646559  Fix test case error
     add b9fc750  codesmell fix
     add 6aad5c7  Merge pull request #2063 from wshao08/last_mod
     add f2e9161  set max open file in linux (#2071)
     add 50b6b79  fix level compaction recover file not exist bug (#2067)
     add 65b5aa5  change tsfile size threshold (#2068)
     add 5f287ae  [IOTDB-1012] Remove unfriendly query process error for users (#2062)
     add 344c387  Update level compaction delete and change list lock (#2070)
     add 209f5e4  Using contains instead of indexOf to be more readable in ServerArgument (#2075)
     add 3e2a9da  Remove all useless semicolons (#2077)
     add 4a0c4f7  Using method reference instead of Lambda to be more readable in MetricsSystem (#2076)
     add a7f14ef  [IOTDB-1015] Add document for session query API and examples for align by device (#2072)
     add ff6f352  fix series bug
     add e43a812  Merge pull request #2073 from Alima777/iotdb1016
     add bdecf78  Fix resource leak in TsFileOutputFormat (#2048)
     add 6279fca  [IOTDB-1017] Fix file version bug (#2078)
     add 0efa4c4  Merge branch 'master' into http_v2

No new revisions were added by this update.

Summary of changes:
 .github/workflows/main-ci.yml                      | 112 +++++++
 .github/workflows/sonar_and_coverall.yml           |  76 +++++
 .travis.yml                                        |  14 +-
 README.md                                          |  16 +
 README_ZH.md                                       |  15 +
 RELEASE_NOTES.md                                   |  77 ++++-
 .../org/apache/iotdb/db/qp/strategy/SqlBase.g4     |  74 +++--
 cli/src/assembly/resources/sbin/start-cli.bat      |  16 +-
 cli/src/assembly/resources/sbin/start-cli.sh       |  44 +--
 .../java/org/apache/iotdb/cli/AbstractCli.java     |  23 +-
 cli/src/main/java/org/apache/iotdb/cli/Cli.java    |   6 +-
 cli/src/main/java/org/apache/iotdb/cli/WinCli.java |  11 +-
 .../java/org/apache/iotdb/cli/AbstractCliIT.java   |  29 +-
 client-py/pom.xml                                  | 126 ++++++++
 {thrift/src => client-py}/pypi/README.md           |  12 +-
 {thrift/src => client-py}/pypi/setup.py            |   2 +-
 client-py/readme.md                                |  13 +-
 client-py/src/Session.py                           |  12 +-
 client-py/src/SessionExample.py                    |   2 +-
 client-py/src/{utils => }/__init__.py              |   0
 .../main/{Dockerfile-0.9.1 => Dockerfile-0.11.0}   |  10 +-
 docs/Blog/Release0_93.md                           |   2 +-
 docs/Development/ContributeGuide.md                |  15 +
 docs/SystemDesign/Tools/Sync.md                    |   2 +-
 docs/SystemDesign/TsFile/Format.md                 |   6 +
 docs/UserGuide/Client/Command Line Interface.md    |   2 +-
 docs/UserGuide/Client/Programming - Native API.md  |  22 +-
 docs/UserGuide/Client/Programming - TsFile API.md  |  50 +--
 docs/UserGuide/Comparison/TSDB-Comparison.md       |   2 +-
 .../Concept/Data Model and Terminology.md          |   2 +
 .../UserGuide/Ecosystem Integration/Hive TsFile.md |   2 +-
 .../Ecosystem Integration/MapReduce TsFile.md      |   4 +-
 .../UserGuide/Ecosystem Integration/Spark IoTDB.md |  30 +-
 .../Ecosystem Integration/Spark TsFile.md          | 153 ++++-----
 docs/UserGuide/Operation Manual/Administration.md  |   1 +
 .../DML Data Manipulation Language.md              |  12 +-
 docs/UserGuide/Operation Manual/SQL Reference.md   |  13 -
 docs/UserGuide/Server/Config Manual.md             |  10 +-
 docs/UserGuide/Server/ServerFileList.md            |   4 +-
 docs/UserGuide/Server/Single Node Setup.md         |   4 +-
 docs/UserGuide/System Tools/JMX Tool.md            |   2 +-
 .../UserGuide/System Tools/Load External Tsfile.md |   4 +-
 .../System Tools/Memory Estimation Tool.md         |  84 -----
 .../System Tools/Monitor and Log Tools.md          |  31 +-
 .../Query History Visualization Tool.md            |   6 +-
 docs/UserGuide/System Tools/Sync Tool.md           | 261 ++++-----------
 docs/UserGuide/System Tools/Watermark Tool.md      |   2 +-
 docs/UserGuide/UserGuideReadme.md                  |   4 +-
 docs/zh/Development/ContributeGuide.md             |  15 +
 .../{TsFileManagement.md => Compaction.md}         |  49 +--
 docs/zh/SystemDesign/TsFile/Format.md              |  10 +-
 .../UserGuide/Client/Programming - Native API.md   |  18 ++
 .../DML Data Manipulation Language.md              |  14 +-
 .../zh/UserGuide/Operation Manual/SQL Reference.md |  13 -
 docs/zh/UserGuide/Server/Config Manual.md          |  19 +-
 .../System Tools/Memory Estimation Tool.md         |  88 ------
 .../iotdb/flink/tsfile/TsFileOutputFormat.java     |  17 +-
 grafana/readme.md                                  |   8 +-
 grafana/readme_zh.md                               |   8 +-
 hadoop/pom.xml                                     |  13 +
 hive-connector/pom.xml                             |  15 +
 pom.xml                                            | 167 +++++-----
 .../file-changelists/TsFileResource-changelist.md  |  17 +-
 server/file-changelists/conf-changelist.md         |  95 ++++++
 .../file-changelists/mlog-changelist.md            |   6 +-
 .../file-changelists/role-changelist.md            |  16 +-
 .../system.properties-changelist.md                |   8 +-
 .../file-changelists/tlog-changelist.md            |   1 -
 .../file-changelists/user-changelist.md            |  16 +-
 .../file-changelists/wal-changelist.md             |  13 +-
 server/server-changelist.md                        |  16 +-
 .../resources/conf/iotdb-engine.properties         | 149 +++++----
 server/src/assembly/resources/conf/iotdb-env.bat   |   2 +-
 server/src/assembly/resources/conf/logback.xml     |  67 ++++
 server/src/assembly/resources/sbin/start-server.sh |   2 +
 server/src/assembly/resources/sbin/stop-server.sh  |  10 +-
 .../src/assembly/resources/tools/memory-tool.bat   |  65 ----
 server/src/assembly/resources/tools/memory-tool.sh |  47 ---
 .../org/apache/iotdb/db/auth/AuthorityChecker.java |   5 +-
 .../iotdb/db/auth/authorizer/BasicAuthorizer.java  |   2 +-
 .../iotdb/db/auth/authorizer/OpenIdAuthorizer.java |   2 +-
 .../org/apache/iotdb/db/concurrent/ThreadName.java |   2 +-
 .../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 351 ++++++++++++++++-----
 .../org/apache/iotdb/db/conf/IoTDBConfigCheck.java |  67 ++--
 .../org/apache/iotdb/db/conf/IoTDBConstant.java    |   2 +-
 .../org/apache/iotdb/db/conf/IoTDBDescriptor.java  | 117 +++++--
 .../db/conf/adapter/ActiveTimeSeriesCounter.java   | 159 ----------
 .../iotdb/db/conf/adapter/CompressionRatio.java    |  17 -
 .../db/conf/adapter/IActiveTimeSeriesCounter.java  |  61 ----
 .../iotdb/db/conf/adapter/IDynamicAdapter.java     |  47 ---
 .../db/conf/adapter/IoTDBConfigDynamicAdapter.java | 300 ------------------
 .../db/conf/adapter/ManageDynamicParameters.java   | 135 --------
 .../conf/adapter/ManageDynamicParametersMBean.java |  46 ---
 .../db/conf/directories/DirectoryManager.java      |   4 +
 .../org/apache/iotdb/db/engine/StorageEngine.java  |  63 +++-
 .../apache/iotdb/db/engine/cache/ChunkCache.java   |   9 +-
 .../iotdb/db/engine/cache/ChunkMetadataCache.java  |   8 +-
 .../db/engine/cache/TimeSeriesMetadataCache.java   |  13 +
 .../CompactionMergeTaskPoolManager.java}           |  44 +--
 .../CompactionStrategy.java}                       |  20 +-
 .../TsFileManagement.java                          |  65 ++--
 .../level/LevelCompactionTsFileManagement.java}    | 236 +++++++++-----
 .../no/NoCompactionTsFileManagement.java}          |  10 +-
 .../utils/CompactionLogAnalyzer.java}              |  43 +--
 .../utils/CompactionLogger.java}                   |  16 +-
 .../utils/CompactionUtils.java}                    |  55 ++--
 .../iotdb/db/engine/flush/MemTableFlushTask.java   |  13 +-
 .../iotdb/db/engine/flush/TsFileFlushPolicy.java   |   8 -
 .../iotdb/db/engine/memtable/AbstractMemTable.java |  53 +++-
 .../apache/iotdb/db/engine/memtable/IMemTable.java |  29 +-
 .../db/engine/memtable/IWritableMemChunk.java      |  13 +-
 .../db/engine/memtable/PrimitiveMemTable.java      |   3 +
 .../iotdb/db/engine/memtable/WritableMemChunk.java |  32 --
 .../iotdb/db/engine/merge/manage/MergeManager.java |  42 +--
 .../db/engine/merge/manage/MergeResource.java      |  21 +-
 .../iotdb/db/engine/merge/task/MergeFileTask.java  | 133 +-------
 .../db/engine/merge/task/MergeMultiChunkTask.java  |   3 +-
 .../db/engine/querycontext/ReadOnlyMemChunk.java   |   1 +
 .../db/engine/storagegroup/StorageGroupInfo.java   | 106 +++++++
 .../engine/storagegroup/StorageGroupProcessor.java | 228 ++++++++-----
 .../db/engine/storagegroup/TsFileProcessor.java    | 267 +++++++++++++---
 .../engine/storagegroup/TsFileProcessorInfo.java   |  67 ++++
 .../db/engine/storagegroup/TsFileResource.java     |  31 ++
 .../db/exception/ConfigAdjusterException.java      |  31 --
 .../DistanceMetricException.java}                  |   9 +-
 .../IllegalIndexParamException.java}               |   9 +-
 .../db/exception/index/IndexManagerException.java  |  20 +-
 .../IndexRuntimeException.java}                    |  15 +-
 .../db/exception/index/QueryIndexException.java    |  15 +-
 .../index/UnsupportedIndexTypeException.java       |  16 +-
 .../iotdb/db/index/common/IndexConstant.java       |  22 +-
 .../apache/iotdb/db/index/common/IndexType.java    |  87 +++++
 .../apache/iotdb/db/index/common/IndexUtils.java   |  25 +-
 .../org/apache/iotdb/db/metadata/MLogWriter.java   |   1 +
 .../org/apache/iotdb/db/metadata/MManager.java     | 301 ++++++++++--------
 .../java/org/apache/iotdb/db/metadata/MTree.java   |  17 +-
 .../org/apache/iotdb/db/metadata/MetaUtils.java    |  18 +-
 .../iotdb/db/metadata/MetadataOperationType.java   |   2 +
 .../iotdb/db/metrics/server/MetricsSystem.java     |   6 +-
 .../iotdb/db/metrics/server/ServerArgument.java    |  95 +++---
 .../org/apache/iotdb/db/mqtt/PublishHandler.java   |   2 +-
 .../main/java/org/apache/iotdb/db/qp/Planner.java  |  16 +-
 .../apache/iotdb/db/qp/constant/SQLConstant.java   |   8 +-
 .../apache/iotdb/db/qp/executor/PlanExecutor.java  |  81 +----
 .../org/apache/iotdb/db/qp/logical/Operator.java   |   3 +-
 ...teDataOperator.java => QueryIndexOperator.java} |  32 +-
 .../CreateIndexOperator.java}                      |  43 +--
 ...oveFileOperator.java => DropIndexOperator.java} |  29 +-
 .../apache/iotdb/db/qp/physical/PhysicalPlan.java  |  23 +-
 .../db/qp/physical/crud/AlignByDevicePlan.java     |   2 +-
 .../iotdb/db/qp/physical/crud/InsertPlan.java      |  18 ++
 .../iotdb/db/qp/physical/crud/InsertRowPlan.java   |  26 +-
 .../db/qp/physical/crud/InsertTabletPlan.java      |  17 +
 .../physical/crud/QueryIndexPlan.java}             |  48 +--
 .../iotdb/db/qp/physical/sys/CreateIndexPlan.java  | 182 +++++++++++
 ...eteStorageGroupPlan.java => DropIndexPlan.java} |  88 ++++--
 .../apache/iotdb/db/qp/physical/sys/ShowPlan.java  |   2 +-
 .../iotdb/db/qp/strategy/LogicalGenerator.java     | 235 +++++++++++++-
 .../iotdb/db/qp/strategy/PhysicalGenerator.java    |  64 +++-
 .../qp/strategy/optimizer/ConcatPathOptimizer.java |  28 +-
 .../query/dataset/groupby/GroupByFillDataSet.java  |  27 +-
 .../groupby/GroupByWithValueFilterDataSet.java     |  19 +-
 .../groupby/GroupByWithoutValueFilterDataSet.java  |  37 ++-
 .../db/query/executor/AggregationExecutor.java     |  47 ++-
 .../iotdb/db/query/executor/FillQueryExecutor.java |  61 ++--
 .../iotdb/db/query/executor/LastQueryExecutor.java | 168 ++++++----
 .../db/query/executor/RawDataQueryExecutor.java    |  56 ++--
 .../db/query/executor/fill/LastPointReader.java    |   4 +-
 .../iotdb/db/query/reader/series/SeriesReader.java |  22 +-
 .../query/timegenerator/ServerTimeGenerator.java   |  28 +-
 .../org/apache/iotdb/db/rescon/MemTablePool.java   | 114 -------
 .../iotdb/db/rescon/PrimitiveArrayManager.java     | 322 +++++++++++++++++++
 .../apache/iotdb/db/rescon/PrimitiveArrayPool.java | 166 ----------
 .../org/apache/iotdb/db/rescon/SystemInfo.java     | 205 ++++++++++++
 .../apache/iotdb/db/rescon/TVListAllocator.java    |   4 +-
 .../java/org/apache/iotdb/db/service/IoTDB.java    |  15 +-
 .../apache/iotdb/db/service/RegisterManager.java   |   1 +
 .../org/apache/iotdb/db/service/ServiceType.java   |   3 +-
 .../org/apache/iotdb/db/service/StaticResps.java   |   7 +-
 .../org/apache/iotdb/db/service/TSServiceImpl.java | 146 +++++++--
 .../iotdb/db/service/thrift/ThriftService.java     |   6 +-
 .../db/sync/receiver/load/FileLoaderManager.java   |   4 +-
 .../iotdb/db/tools/memestimation/MemEstTool.java   |  92 ------
 .../db/tools/memestimation/MemEstToolCmd.java      | 120 -------
 .../db/tools/watermark/WatermarkDetector.java      |   1 -
 .../java/org/apache/iotdb/db/utils/MemUtils.java   |  29 +-
 .../iotdb/db/utils/datastructure/BinaryTVList.java |  57 +---
 .../db/utils/datastructure/BooleanTVList.java      |  58 +---
 .../iotdb/db/utils/datastructure/DoubleTVList.java |  58 +---
 .../iotdb/db/utils/datastructure/FloatTVList.java  |  57 +---
 .../iotdb/db/utils/datastructure/IntTVList.java    |  57 +---
 .../iotdb/db/utils/datastructure/LongTVList.java   |  53 +---
 .../iotdb/db/utils/datastructure/TVList.java       |  69 ++--
 .../db/writelog/node/ExclusiveWriteLogNode.java    |   3 +-
 .../iotdb/db/writelog/recover/LogReplayer.java     |   2 +-
 .../writelog/recover/TsFileRecoverPerformer.java   |  18 +-
 .../conf/adapter/ActiveTimeSeriesCounterTest.java  | 125 --------
 .../db/conf/adapter/CompressionRatioTest.java      |   1 -
 .../iotdb/db/conf/adapter/HyperLogLogTest.java     |  65 ----
 .../adapter/IoTDBConfigDynamicAdapterTest.java     | 138 --------
 .../db/engine/cache/ChunkMetadataCacheTest.java    |   7 +-
 .../db/engine/memtable/MemTableFlushTaskTest.java  |   2 -
 .../iotdb/db/engine/memtable/MemTablePoolTest.java |  82 -----
 .../db/engine/memtable/MemtableBenchmark.java      |   3 +-
 .../db/engine/memtable/PrimitiveMemTableTest.java  |   1 +
 .../apache/iotdb/db/engine/merge/MergeLogTest.java |   4 +-
 .../iotdb/db/engine/merge/MergePerfTest.java       |   6 +-
 .../iotdb/db/engine/merge/MergeTaskTest.java       |   8 +-
 .../apache/iotdb/db/engine/merge/MergeTest.java    |   7 +-
 .../engine/modification/DeletionFileNodeTest.java  | 114 ++++---
 .../db/engine/modification/DeletionQueryTest.java  |   8 +-
 .../engine/modification/ModificationFileTest.java  |   2 -
 .../storagegroup/StorageGroupProcessorTest.java    |  20 +-
 .../iotdb/db/engine/storagegroup/TTLTest.java      |   5 +-
 .../engine/storagegroup/TsFileProcessorTest.java   |  67 ++--
 .../iotdb/db/integration/IOTDBGroupByIT.java       |   2 +-
 .../integration/IOTDBGroupByInnerIntervalIT.java   |   2 +-
 .../iotdb/db/integration/IoTDBAggregationIT.java   |  44 ++-
 .../integration/IoTDBAggregationLargeDataIT.java   |   4 +-
 .../integration/IoTDBAggregationSmallDataIT.java   |   4 +-
 .../iotdb/db/integration/IoTDBAuthorizationIT.java |   2 +-
 .../apache/iotdb/db/integration/IoTDBDaemonIT.java |   2 +-
 .../db/integration/IoTDBDeleteStorageGroupIT.java  |  10 +-
 .../db/integration/IoTDBDeleteTimeseriesIT.java    |  10 +-
 .../iotdb/db/integration/IoTDBDeletionIT.java      |  29 ++
 .../db/integration/IoTDBFloatPrecisionIT.java      |   2 +-
 .../iotdb/db/integration/IoTDBGroupByFillIT.java   |   2 +-
 .../integration/IoTDBGroupByFillWithRangeIT.java   |   2 +-
 .../iotdb/db/integration/IoTDBInsertNaNIT.java     |   2 +-
 .../iotdb/db/integration/IoTDBLargeDataIT.java     |   4 +-
 .../apache/iotdb/db/integration/IoTDBLastIT.java   |   2 -
 .../db/integration/IoTDBLoadExternalTsfileIT.java  |   6 +-
 .../iotdb/db/integration/IoTDBMergeTest.java       |  10 +-
 .../iotdb/db/integration/IoTDBMetadataFetchIT.java |   6 +-
 .../iotdb/db/integration/IoTDBMultiSeriesIT.java   |   4 +-
 .../db/integration/IoTDBOverlappedPageIT.java      |  14 +-
 .../db/integration/IoTDBQueryMemoryControlIT.java  | 108 +++++--
 .../iotdb/db/integration/IoTDBRecoverIT.java       |   6 +-
 .../db/integration/IoTDBRecoverUnclosedIT.java     |   2 +-
 .../db/integration/IoTDBRemovePartitionIT.java     |   2 -
 .../iotdb/db/integration/IoTDBSeriesReaderIT.java  |  12 +-
 .../iotdb/db/metadata/MManagerBasicTest.java       |  26 --
 .../apache/iotdb/db/metadata/MetaUtilsTest.java    |  24 +-
 .../iotdb/db/qp/plan/IndexLogicalPlanTest.java     | 156 +++++++++
 .../qp/plan/IndexSubMatchingPhysicalPlanTest.java  | 160 ++++++++++
 .../plan/IndexWholeMatchingPhysicalPlanTest.java   | 154 +++++++++
 .../iotdb/db/qp/plan/LogicalPlanSmallTest.java     |   6 +-
 .../apache/iotdb/db/qp/plan/PhysicalPlanTest.java  |  10 +-
 .../iotdb/db/query/reader/ReaderTestHelper.java    |  69 ----
 .../db/sync/receiver/load/FileLoaderTest.java      |   2 +-
 .../recover/SyncReceiverLogAnalyzerTest.java       |   2 +-
 .../apache/iotdb/db/utils/EnvironmentUtils.java    | 117 ++++---
 .../db/utils/datastructure/LongTVListTest.java     |  18 +-
 .../recover/RecoverResourceFromReaderTest.java     |   5 +-
 .../db/writelog/recover/SeqTsFileRecoverTest.java  |   7 +-
 .../writelog/recover/UnseqTsFileRecoverTest.java   |   5 +-
 server/src/test/resources/iotdb-engine.properties  |   3 +-
 server/src/test/resources/logback.xml              |   2 +
 .../java/org/apache/iotdb/rpc/TSStatusCode.java    |   4 +
 .../main/java/org/apache/iotdb/session/Config.java |   4 +-
 .../java/org/apache/iotdb/session/Session.java     |   8 +-
 .../org/apache/iotdb/session/pool/SessionPool.java | 133 ++++++--
 .../iotdb/session/IoTDBSessionComplexIT.java       |   2 +-
 .../apache/iotdb/session/IoTDBSessionSimpleIT.java |  56 ++++
 .../apache/iotdb/session/pool/SessionPoolTest.java |  18 ++
 site/pom.xml                                       |  12 +-
 site/src/main/.vuepress/config.js                  |   5 +-
 site/src/main/.vuepress/theme/components/Page.vue  |   3 +
 spark-iotdb-connector/pom.xml                      |  13 +
 .../apache/iotdb/spark/db/EnvironmentUtils.java    |   8 -
 spark-tsfile/README.md                             |   4 +-
 thrift/pom.xml                                     | 103 ------
 .../iotdb/tsfile/file/metadata/ChunkMetadata.java  |   5 +
 .../tsfile/file/metadata/MetadataIndexNode.java    |  20 +-
 .../tsfile/file/metadata/enums/TSDataType.java     |  18 ++
 .../file/metadata/statistics/BinaryStatistics.java |   4 +-
 .../metadata/statistics/BooleanStatistics.java     |   2 +-
 .../file/metadata/statistics/DoubleStatistics.java |   2 +-
 .../file/metadata/statistics/FloatStatistics.java  |   2 +-
 .../metadata/statistics/IntegerStatistics.java     |   2 +-
 .../file/metadata/statistics/LongStatistics.java   |   2 +-
 .../file/metadata/statistics/Statistics.java       |  19 ++
 .../fileOutputFactory/LocalFSOutputFactory.java    |   3 +-
 .../iotdb/tsfile/read/TsFileSequenceReader.java    |  43 ++-
 .../read/query/timegenerator/TimeGenerator.java    |   4 +-
 .../iotdb/tsfile/utils/ReadWriteIOUtils.java       |  29 +-
 .../tsfile/v1/file/metadata/TsFileMetadataV1.java  |  13 +-
 .../file/metadata/MetadataIndexNodeTest.java       |  10 +-
 .../iotdb/tsfile/read/ReadInPartitionTest.java     |   4 +-
 ...SameMeasurementsWithDifferentDataTypesTest.java |  14 +-
 .../write/writer/ForceAppendTsFileWriterTest.java  |  14 +-
 291 files changed, 6410 insertions(+), 5022 deletions(-)
 create mode 100644 .github/workflows/main-ci.yml
 create mode 100644 .github/workflows/sonar_and_coverall.yml
 create mode 100644 client-py/pom.xml
 rename {thrift/src => client-py}/pypi/README.md (81%)
 rename {thrift/src => client-py}/pypi/setup.py (97%)
 copy client-py/src/{utils => }/__init__.py (100%)
 copy docker/src/main/{Dockerfile-0.9.1 => Dockerfile-0.11.0} (77%)
 delete mode 100644 docs/UserGuide/System Tools/Memory Estimation Tool.md
 rename docs/zh/SystemDesign/StorageEngine/{TsFileManagement.md => Compaction.md} (79%)
 delete mode 100644 docs/zh/UserGuide/System Tools/Memory Estimation Tool.md
 copy docs/zh/SystemDesign/TsFile/TsFile.md => server/file-changelists/TsFileResource-changelist.md (74%)
 create mode 100644 server/file-changelists/conf-changelist.md
 copy docs/zh/UserGuide/Architecture/Shared Nothing Cluster.md => server/file-changelists/mlog-changelist.md (92%)
 copy docs/SystemDesign/TsFile/TsFile.md => server/file-changelists/role-changelist.md (83%)
 copy docs/UserGuide/Architecture/Shared Nothing Cluster.md => server/file-changelists/system.properties-changelist.md (81%)
 copy docs/README.md => server/file-changelists/tlog-changelist.md (98%)
 copy docs/SystemDesign/TsFile/TsFile.md => server/file-changelists/user-changelist.md (83%)
 copy docs/zh/SystemDesign/TsFile/TsFile.md => server/file-changelists/wal-changelist.md (76%)
 delete mode 100755 server/src/assembly/resources/tools/memory-tool.bat
 delete mode 100755 server/src/assembly/resources/tools/memory-tool.sh
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounter.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IActiveTimeSeriesCounter.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IDynamicAdapter.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapter.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ManageDynamicParameters.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/conf/adapter/ManageDynamicParametersMBean.java
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/HotCompactionMergeTaskPoolManager.java => compaction/CompactionMergeTaskPoolManager.java} (65%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/TsFileManagementStrategy.java => compaction/CompactionStrategy.java} (65%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement => compaction}/TsFileManagement.java (86%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/level/LevelTsFileManagement.java => compaction/level/LevelCompactionTsFileManagement.java} (68%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/normal/NormalTsFileManagement.java => compaction/no/NoCompactionTsFileManagement.java} (94%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/utils/HotCompactionLogAnalyzer.java => compaction/utils/CompactionLogAnalyzer.java} (65%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/utils/HotCompactionLogger.java => compaction/utils/CompactionLogger.java} (83%)
 rename server/src/main/java/org/apache/iotdb/db/engine/{tsfilemanagement/utils/HotCompactionUtils.java => compaction/utils/CompactionUtils.java} (85%)
 create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupInfo.java
 create mode 100644 server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileProcessorInfo.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/exception/ConfigAdjusterException.java
 copy server/src/main/java/org/apache/iotdb/db/exception/{UnsupportedHttpMethodException.java => index/DistanceMetricException.java} (78%)
 copy server/src/main/java/org/apache/iotdb/db/exception/{UnsupportedHttpMethodException.java => index/IllegalIndexParamException.java} (77%)
 copy flink-iotdb-connector/src/main/java/org/apache/iotdb/flink/IoTSerializationSchema.java => server/src/main/java/org/apache/iotdb/db/exception/index/IndexManagerException.java (64%)
 copy server/src/main/java/org/apache/iotdb/db/exception/{runtime/RPCServiceException.java => index/IndexRuntimeException.java} (72%)
 copy flink-iotdb-connector/src/main/java/org/apache/iotdb/flink/IoTSerializationSchema.java => server/src/main/java/org/apache/iotdb/db/exception/index/QueryIndexException.java (70%)
 copy flink-iotdb-connector/src/main/java/org/apache/iotdb/flink/IoTSerializationSchema.java => server/src/main/java/org/apache/iotdb/db/exception/index/UnsupportedIndexTypeException.java (63%)
 copy flink-iotdb-connector/src/main/java/org/apache/iotdb/flink/IoTSerializationSchema.java => server/src/main/java/org/apache/iotdb/db/index/common/IndexConstant.java (63%)
 create mode 100644 server/src/main/java/org/apache/iotdb/db/index/common/IndexType.java
 copy flink-iotdb-connector/src/main/java/org/apache/iotdb/flink/IoTSerializationSchema.java => server/src/main/java/org/apache/iotdb/db/index/common/IndexUtils.java (67%)
 copy server/src/main/java/org/apache/iotdb/db/qp/logical/crud/{DeleteDataOperator.java => QueryIndexOperator.java} (58%)
 copy server/src/main/java/org/apache/iotdb/db/qp/logical/{crud/InsertOperator.java => sys/CreateIndexOperator.java} (57%)
 copy server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{RemoveFileOperator.java => DropIndexOperator.java} (64%)
 copy server/src/main/java/org/apache/iotdb/db/{engine/cache/AccountableString.java => qp/physical/crud/QueryIndexPlan.java} (51%)
 create mode 100644 server/src/main/java/org/apache/iotdb/db/qp/physical/sys/CreateIndexPlan.java
 copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{DeleteStorageGroupPlan.java => DropIndexPlan.java} (50%)
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/MemTablePool.java
 create mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/PrimitiveArrayManager.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/PrimitiveArrayPool.java
 create mode 100644 server/src/main/java/org/apache/iotdb/db/rescon/SystemInfo.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/memestimation/MemEstTool.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/tools/memestimation/MemEstToolCmd.java
 delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/ActiveTimeSeriesCounterTest.java
 delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/HyperLogLogTest.java
 delete mode 100644 server/src/test/java/org/apache/iotdb/db/conf/adapter/IoTDBConfigDynamicAdapterTest.java
 delete mode 100644 server/src/test/java/org/apache/iotdb/db/engine/memtable/MemTablePoolTest.java
 create mode 100644 server/src/test/java/org/apache/iotdb/db/qp/plan/IndexLogicalPlanTest.java
 create mode 100644 server/src/test/java/org/apache/iotdb/db/qp/plan/IndexSubMatchingPhysicalPlanTest.java
 create mode 100644 server/src/test/java/org/apache/iotdb/db/qp/plan/IndexWholeMatchingPhysicalPlanTest.java
 delete mode 100644 server/src/test/java/org/apache/iotdb/db/query/reader/ReaderTestHelper.java