[IOTDB-1635] settle TsFiles and mods (#4024)
author周沛辰 <45144903+choubenson@users.noreply.github.com>
Mon, 11 Oct 2021 04:16:45 +0000 (12:16 +0800)
committerGitHub <noreply@github.com>
Mon, 11 Oct 2021 04:16:45 +0000 (12:16 +0800)
commit855db6543d39d41cd1cd783f30d29d71f0106620
tree9920968f587b50856824eaa7e71a7157d2859649
parent5ab9e4abeb117201620588874e77a24b2bf98671
[IOTDB-1635] settle TsFiles and mods (#4024)
30 files changed:
.asf.yaml
.mvn/wrapper/MavenWrapperDownloader.java
antlr/src/main/antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4
jenkins.pom
server/src/assembly/resources/tools/tsfileToolSet/settle.bat [new file with mode: 0644]
server/src/assembly/resources/tools/tsfileToolSet/settle.sh [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfig.java
server/src/main/java/org/apache/iotdb/db/engine/StorageEngine.java
server/src/main/java/org/apache/iotdb/db/engine/settle/SettleLog.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/engine/settle/SettleTask.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/StorageGroupProcessor.java
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/TsFileResource.java
server/src/main/java/org/apache/iotdb/db/engine/storagegroup/virtualSg/VirtualStorageGroupManager.java
server/src/main/java/org/apache/iotdb/db/qp/constant/SQLConstant.java
server/src/main/java/org/apache/iotdb/db/qp/executor/PlanExecutor.java
server/src/main/java/org/apache/iotdb/db/qp/logical/Operator.java
server/src/main/java/org/apache/iotdb/db/qp/logical/sys/SettleOperator.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/SettlePlan.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java
server/src/main/java/org/apache/iotdb/db/query/control/FileReaderManager.java
server/src/main/java/org/apache/iotdb/db/service/IoTDB.java
server/src/main/java/org/apache/iotdb/db/service/ServiceType.java
server/src/main/java/org/apache/iotdb/db/service/SettleService.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/tools/TsFileRewriteTool.java
server/src/main/java/org/apache/iotdb/db/tools/settle/TsFileAndModSettleTool.java [new file with mode: 0644]
server/src/main/java/org/apache/iotdb/db/tools/upgrade/TsFileOnlineUpgradeTool.java
server/src/test/java/org/apache/iotdb/db/integration/IoTDBSettleIT.java [new file with mode: 0644]
server/src/test/java/org/apache/iotdb/db/tools/TsFileAndModSettleToolTest.java [new file with mode: 0644]
server/src/test/java/org/apache/iotdb/db/utils/TsFileRewriteToolTest.java
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/ChunkMetadata.java