This is an automated email from the ASF dual-hosted git repository.
haonan pushed a change to branch NewDoc
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from b6fb052 Update Sync Tool.md to fix some typos (#2842)
add 9135547 [IOTDB-1164]Optimize the executeBatch interface in JDBC
(#2725)
add 7f9aaaa [IOTDB-1043] Change rpc port &use internal ip for
communication between nodes in cluster (#2740)
add d718827 fix NPE bug in QueryTimeManager
add 45210d7 apply spotless
add f63b849 fix bug
add 5fcff40 Merge pull request #2759 from apache/fixQueryInfoNull
add 76b6d82 Downgrade readlock to writelock in delete (#2774)
add 371b852 Fix the sketch tool in new tsfile format (#2775)
add 4de1f8b change the default max JVM heap size from 8G to 64G (#2771)
add ba4cfaa [IOTDB-1118] [Distributed] Limit query log lag in mid
consistency level (#2766)
add 5409c37 Update the picture of tsfile format (#2773)
add c50628b [IOTDB-1181] Upgrade jetty jar to fix CVE-2020-27216
add d622fe8 Add welcome info for who submit issues/PRs the first time.
(#2779)
add e9bd562 [IOTDB-1186] Remove redundant sync meta leader in query
process for cluster module
add 7c40ce7 Update IoTDBConstant.java remove unused field (#2777)
add 4c2a3b5 [IOTDB-1189] [Distributed]optimize thread pool client close
(#2782)
add ca02b36 Add max direct memory size parameter to env.sh
add 6694c5d Update the SeedUrl Format Exception Info when using cluster
mode (#2786)
add 6832eee [ISSUE-2661] SyncClientPool And AsyncClientPool have
concurrency problem (#2791)
add 0198f5c Add generated-sources as source folder
add bfa529b (Fix Github Action)Update apt source before installing
libboost
add 19ad435 [IOTDB-1204] set parameter in iotdb-cluster.properties (#2797)
add 1f54e62 Update cpp client build doc (#2796)
add 7d5329f [IOTDB-1192] Fix sql end with semicolon (#2798)
add a857820 Update UDF User Defined Function.md
add aad1bcd [IOTDB-1193] Remove redundant sync meta leader in CManager
for cluster module (#2787)
add 02a4ecf [IOTDB-1208] revise the cluster setup docs (#2807)
add ff3a0f9 Fix compaction with cluster snapshot deletion (#2811)
add 1f98174 [IOTDB-1221] Compaction module: chunk metadata lists returned
by the getMeasurementChunkMetadataListMapIterator method are not
lexicographically ordered by the measurement names (#2817)
add bccb441 check and persist the system properties of the cluster
version (#2816)
add 251c979 Rename timeout parameter (#2824)
add 653841b download calcite-core's dependency penhato from
public.nexus.pentaho.org rather than spring.io
add b692da0 Skip code coverage and sonar reports in a forked pull request
add 743f57d fix test executor error (#2829)
add 4f60e92 [IOTDB-1187] Fix unseq compaction loss data bug after delete
operation (#2785)
add e35a3e4 Fix refactor query code, reduce complexity in
PhysicalGenerator (#2820)
add daa50d7 optimize the doc that WAL has three ways to be flashed to
disk (#2822)
add 5540272 [ISSUE-2827] add an overrided addChild() method in MNode.
(#2828)
add a735202 Optimize the code structure of deduplicate() (#2856)
add adc61e2 Optimize the code structure of deduplicate() - PART2 (#2863)
add a8b01f1 [IOTDB-1234] fix ImportCsv tool cannot parse empty string
(#2857)
add c9026e2 Optimize cluster query (#2859)
add 32eaa9e simplify the Avg formula on removing redundant operations
(#2868)
add 6ffd095 [IOTDB-1274] fix the insert blocked caused the bugs in mem
control module
add 9e886df Use switch case in enums class (#2882)
add c351b32 fix add "-" in thread name (#2884)
add ec70703 [IOTDB-1214] Add Flink-IoTDB documents to the website (#2813)
add b214511 [IOTDB-1251] optimize route intervals (#2886)
add 155df75 [IOTDB-1207]Open time partition causes stackoverflow in
Cluster Module (#2809)
add 77cdc38 [IOTDB-1240]support show node command in cluster version
(#2866)
add ee4f073 Fix_IoTDBNewTsFileCompactionIT_problem (#2890)
add 3781cc2 fix spelling mistake (#2889)
add 64c11bc [IOTDB-1255] refactor cluster package and jar name (#2892)
add 5455d3b [IOTDB-1252] optimize test mult-times perform (#2887)
add 4f4ee90 Update cluster setup example after changing artifactId in
cluster module (#2899)
add 85604b4 [IOTDB-1250] fix pull schema bug that the
pullTimeSeriesSchema and pullMeasurementSchema is misused(#2894)
add 8fc8de3 [IOTDB-854] Limit the memory foorprint of the committed log
cache (#2879)
new 193b0c7 Merge branch 'master' of https://github.com/apache/iotdb into
NewDoc
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/client.yml | 30 +-
.github/workflows/greetings.yml | 13 +
.github/workflows/sonar-coveralls.yml | 14 +-
antlr/pom.xml | 19 +
.../antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4 | 2 +-
client-cpp/README.md | 6 +-
cluster/pom.xml | 2 +-
.../resources/conf/iotdb-cluster.properties | 44 +-
cluster/src/assembly/resources/sbin/start-node.bat | 48 ++-
cluster/src/assembly/resources/sbin/start-node.sh | 39 +-
.../java/org/apache/iotdb/cluster/ClientMain.java | 4 +-
.../java/org/apache/iotdb/cluster/ClusterMain.java | 115 ++---
.../iotdb/cluster/client/DataClientProvider.java | 7 +-
.../cluster/client/async/AsyncClientPool.java | 44 +-
.../cluster/client/async/AsyncDataClient.java | 2 +-
.../client/async/AsyncDataHeartbeatClient.java | 2 +-
.../cluster/client/async/AsyncMetaClient.java | 2 +-
.../client/async/AsyncMetaHeartbeatClient.java | 2 +-
.../cluster/client/sync/SyncClientAdaptor.java | 17 +
.../iotdb/cluster/client/sync/SyncClientPool.java | 69 +--
.../iotdb/cluster/client/sync/SyncDataClient.java | 13 +-
.../client/sync/SyncDataHeartbeatClient.java | 2 +-
.../iotdb/cluster/client/sync/SyncMetaClient.java | 19 +-
.../client/sync/SyncMetaHeartbeatClient.java | 2 +-
.../apache/iotdb/cluster/config/ClusterConfig.java | 87 +++-
.../iotdb/cluster/config/ClusterConstant.java | 2 -
.../iotdb/cluster/config/ClusterDescriptor.java | 170 +++-----
.../iotdb/cluster/coordinator/Coordinator.java | 29 +-
.../exception/BadSeedUrlFormatException.java | 3 +-
.../exception/CheckConsistencyException.java | 4 +
.../org/apache/iotdb/cluster/log/HardState.java | 52 +--
.../java/org/apache/iotdb/cluster/log/Log.java | 10 +
.../apache/iotdb/cluster/log/LogDispatcher.java | 8 +-
.../cluster/log/manage/CommittedEntryManager.java | 34 ++
.../iotdb/cluster/log/manage/RaftLogManager.java | 37 +-
.../log/snapshot/PullSnapshotTaskDescriptor.java | 12 +
.../apache/iotdb/cluster/metadata/CMManager.java | 184 ++++----
.../apache/iotdb/cluster/metadata/MetaPuller.java | 28 +-
.../cluster/partition/slot/SlotPartitionTable.java | 3 -
.../cluster/query/ClusterDataQueryExecutor.java | 8 +
.../cluster/query/ClusterPhysicalGenerator.java | 20 +-
.../iotdb/cluster/query/ClusterPlanExecutor.java | 133 ++++--
.../iotdb/cluster/query/LocalQueryExecutor.java | 15 +-
.../cluster/query/aggregate/ClusterAggregator.java | 14 +-
.../cluster/query/fill/ClusterPreviousFill.java | 14 +-
.../query/groupby/RemoteGroupByExecutor.java | 27 +-
.../query/last/ClusterLastQueryExecutor.java | 14 +-
.../cluster/query/reader/ClusterReaderFactory.java | 24 +-
.../cluster/query/reader/ClusterTimeGenerator.java | 4 +-
.../iotdb/cluster/query/reader/DataSourceInfo.java | 12 +-
.../iotdb/cluster/query/reader/EmptyReader.java | 3 +-
.../cluster/query/reader/MergedReaderByTime.java | 8 +-
.../reader/RemoteSeriesReaderByTimestamp.java | 40 +-
.../apache/iotdb/cluster/server/ClientServer.java | 17 +-
.../iotdb/cluster/server/DataClusterServer.java | 41 +-
.../iotdb/cluster/server/MetaClusterServer.java | 16 +-
.../cluster/server/PullSnapshotHintService.java | 9 +-
.../apache/iotdb/cluster/server/RaftServer.java | 14 +-
...dler.java => GetChildNodeNextLevelHandler.java} | 9 +-
.../server/heartbeat/DataHeartbeatServer.java | 4 +-
.../cluster/server/heartbeat/HeartbeatServer.java | 6 +-
.../server/heartbeat/MetaHeartbeatServer.java | 12 +-
.../cluster/server/member/DataGroupMember.java | 5 +-
.../cluster/server/member/MetaGroupMember.java | 77 ++--
.../iotdb/cluster/server/member/RaftMember.java | 150 +++++--
.../iotdb/cluster/server/monitor/NodeReport.java | 2 +-
.../cluster/server/service/BaseAsyncService.java | 3 +-
.../cluster/server/service/BaseSyncService.java | 15 +-
.../cluster/server/service/DataAsyncService.java | 21 +-
.../cluster/server/service/DataSyncService.java | 36 +-
.../cluster/server/service/MetaSyncService.java | 5 +-
.../apache/iotdb/cluster/utils/ClusterNode.java | 28 +-
.../apache/iotdb/cluster/utils/ClusterUtils.java | 26 +-
.../utils/nodetool/function/NodeToolCmd.java | 3 +-
.../cluster/client/DataClientProviderTest.java | 156 ++++++-
.../cluster/client/async/AsyncDataClientTest.java | 4 +-
.../client/async/AsyncDataHeartbeatClientTest.java | 2 +-
.../cluster/client/async/AsyncMetaClientTest.java | 4 +-
.../client/async/AsyncMetaHeartbeatClientTest.java | 4 +-
.../cluster/client/sync/SyncClientAdaptorTest.java | 9 +
.../cluster/client/sync/SyncClientPoolTest.java | 17 +-
.../cluster/client/sync/SyncDataClientTest.java | 60 ++-
.../client/sync/SyncDataHeartbeatClientTest.java | 6 +-
.../cluster/client/sync/SyncMetaClientTest.java | 52 ++-
.../client/sync/SyncMetaHeartbeatClientTest.java | 6 +-
.../cluster/common/TestAsyncClientFactory.java | 2 +-
.../iotdb/cluster/common/TestAsyncDataClient.java | 13 +-
.../cluster/common/TestManagedSeriesReader.java | 23 +-
.../cluster/common/TestPartitionedLogManager.java | 5 +-
.../org/apache/iotdb/cluster/common/TestUtils.java | 5 +-
.../cluster/integration/BaseSingleNodeTest.java | 7 +-
.../apache/iotdb/cluster/log/HardStateTest.java | 3 +-
.../cluster/log/applier/DataLogApplierTest.java | 3 +-
.../cluster/log/applier/MetaLogApplierTest.java | 4 +-
.../cluster/log/catchup/LogCatchUpTaskTest.java | 22 +-
.../log/catchup/SnapshotCatchUpTaskTest.java | 44 +-
.../cluster/log/logtypes/SerializeLogTest.java | 4 +-
.../cluster/log/manage/RaftLogManagerTest.java | 35 ++
.../cluster/partition/SlotPartitionTableTest.java | 23 +-
.../apache/iotdb/cluster/query/BaseQueryTest.java | 4 +-
.../query/groupby/RemoteGroupByExecutorTest.java | 4 +-
.../query/manage/ClusterQueryManagerTest.java | 2 +-
.../reader/RemoteSeriesReaderByTimestampTest.java | 68 +--
.../handlers/caller/HeartbeatHandlerTest.java | 4 +-
.../member/{MemberTest.java => BaseMember.java} | 180 +-------
.../cluster/server/member/DataGroupMemberTest.java | 39 +-
.../cluster/server/member/MetaGroupMemberTest.java | 53 ++-
.../cluster/server/member/RaftMemberTest.java | 244 +++++++++++
.../org/apache/iotdb/cluster/utils/Constants.java | 6 +-
.../resources/node1conf/iotdb-cluster.properties | 30 +-
.../resources/node1conf}/iotdb-engine.properties | 14 +-
.../resources/node2conf/iotdb-cluster.properties | 30 +-
.../resources/node2conf}/iotdb-engine.properties | 14 +-
.../resources/node3conf/iotdb-cluster.properties | 30 +-
.../resources/node3conf}/iotdb-engine.properties | 14 +-
docs/SystemDesign/QueryEngine/QueryEngine.md | 2 +-
docs/SystemDesign/StorageEngine/WAL.md | 6 +-
docs/SystemDesign/TsFile/Format.md | 2 +-
.../UserGuide/Ecosystem Integration/Flink IoTDB.md | 67 ++-
.../Ecosystem Integration/Flink TsFile.md | 17 +-
docs/UserGuide/Operation Manual/Kill Query.md | 2 +-
.../Operation Manual/UDF User Defined Function.md | 2 +-
docs/UserGuide/Server/Cluster Setup.md | 71 ++--
docs/UserGuide/System Tools/NodeTool.md | 42 +-
docs/zh/SystemDesign/QueryEngine/QueryEngine.md | 2 +-
docs/zh/SystemDesign/StorageEngine/WAL.md | 7 +-
docs/zh/SystemDesign/TsFile/Format.md | 2 +-
.../UserGuide/Ecosystem Integration/Flink IoTDB.md | 122 ++++++
.../Ecosystem Integration/Flink Tsfile.md | 38 +-
docs/zh/UserGuide/Operation Manual/Kill Query.md | 2 +-
.../Operation Manual/UDF User Defined Function.md | 2 +-
docs/zh/UserGuide/Server/Cluster Setup.md | 71 ++--
docs/zh/UserGuide/System Tools/NodeTool.md | 44 +-
example/client-cpp-example/README.md | 2 +-
hive-connector/pom.xml | 12 +-
pom.xml | 2 +-
.../resources/conf/iotdb-engine.properties | 2 +-
server/src/assembly/resources/conf/iotdb-env.bat | 7 +-
server/src/assembly/resources/conf/iotdb-env.sh | 11 +-
.../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 30 +-
.../org/apache/iotdb/db/conf/IoTDBConstant.java | 1 -
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 55 +--
.../apache/iotdb/db/cost/statistic/Operation.java | 1 +
.../org/apache/iotdb/db/engine/StorageEngine.java | 4 +-
.../db/engine/compaction/TsFileManagement.java | 8 +
.../level/LevelCompactionTsFileManagement.java | 31 ++
.../engine/compaction/utils/CompactionUtils.java | 5 +-
.../db/engine/merge/manage/MergeResource.java | 27 ++
.../iotdb/db/engine/merge/task/MergeFileTask.java | 26 +-
.../db/engine/merge/task/MergeMultiChunkTask.java | 4 +
.../engine/storagegroup/StorageGroupProcessor.java | 4 +-
.../db/engine/storagegroup/TsFileResource.java | 10 +
.../storagegroup/timeindex/DeviceTimeIndex.java | 12 +
.../storagegroup/timeindex/FileTimeIndex.java | 12 +
.../engine/storagegroup/timeindex/ITimeIndex.java | 16 +
.../org/apache/iotdb/db/metadata/mnode/MNode.java | 31 ++
.../iotdb/db/qp/physical/crud/AggregationPlan.java | 32 ++
.../iotdb/db/qp/physical/crud/FillQueryPlan.java | 9 +
.../iotdb/db/qp/physical/crud/QueryPlan.java | 18 +-
.../apache/iotdb/db/qp/physical/crud/UDTFPlan.java | 8 +
.../iotdb/db/qp/strategy/PhysicalGenerator.java | 471 ++++++++++-----------
.../db/query/aggregation/AggregateResult.java | 4 +
.../db/query/aggregation/impl/AvgAggrResult.java | 25 +-
.../db/query/aggregation/impl/CountAggrResult.java | 18 +-
.../aggregation/impl/FirstValueAggrResult.java | 26 +-
.../aggregation/impl/FirstValueDescAggrResult.java | 20 +-
.../aggregation/impl/LastValueAggrResult.java | 26 +-
.../aggregation/impl/LastValueDescAggrResult.java | 37 +-
.../query/aggregation/impl/MaxTimeAggrResult.java | 20 +-
.../aggregation/impl/MaxTimeDescAggrResult.java | 31 +-
.../query/aggregation/impl/MaxValueAggrResult.java | 18 +-
.../query/aggregation/impl/MinTimeAggrResult.java | 24 +-
.../aggregation/impl/MinTimeDescAggrResult.java | 17 +-
.../query/aggregation/impl/MinValueAggrResult.java | 18 +-
.../db/query/aggregation/impl/SumAggrResult.java | 15 +-
.../db/query/control/QueryResourceManager.java | 9 +
.../iotdb/db/query/control/QueryTimeManager.java | 16 +-
.../dataset/RawQueryDataSetWithValueFilter.java | 172 +++++---
.../db/query/executor/AggregationExecutor.java | 87 ++--
.../adapter/ByTimestampReaderAdapter.java | 48 ++-
.../reader/chunk/DiskChunkReaderByTimestamp.java | 55 +--
.../db/query/reader/series/IReaderByTimestamp.java | 2 +-
.../reader/series/SeriesReaderByTimestamp.java | 17 +-
.../org/apache/iotdb/db/rescon/SystemInfo.java | 56 +--
.../java/org/apache/iotdb/db/service/IoTDB.java | 9 +-
.../org/apache/iotdb/db/service/TSServiceImpl.java | 237 ++++++-----
.../apache/iotdb/db/tools/TsFileSketchTool.java | 6 +-
.../org/apache/iotdb/db/utils/SerializeUtils.java | 42 +-
.../iotdb/db/engine/merge/MergeTaskTest.java | 55 +++
.../integration/IOTDBGroupByInnerIntervalIT.java | 135 +++---
...oTDBVersionIT.java => IoTDBExecuteBatchIT.java} | 43 +-
.../db/integration/IoTDBNewTsFileCompactionIT.java | 2 +-
.../iotdb/db/integration/IoTDBQueryDemoIT.java | 8 +-
.../aggregation/IoTDBAggregationIT.java | 137 +++---
.../apache/iotdb/db/metadata/mnode/MNodeTest.java | 27 ++
.../reader/series/SeriesReaderByTimestampTest.java | 12 +-
.../apache/iotdb/db/utils/SerializeUtilsTest.java | 4 +-
site/src/main/.vuepress/config.js | 8 +-
thrift/pom.xml | 19 +
thrift/src/main/thrift/cluster.thrift | 15 +-
.../file/metadata/enums/CompressionType.java | 24 +-
.../file/metadata/enums/MetadataIndexNodeType.java | 17 +-
.../tsfile/file/metadata/enums/TSDataType.java | 21 +-
.../tsfile/file/metadata/enums/TSEncoding.java | 27 +-
.../iotdb/tsfile/read/TsFileSequenceReader.java | 15 +-
.../query/dataset/DataSetWithTimeGenerator.java | 2 +-
.../tsfile/read/query/dataset/QueryDataSet.java | 5 +
.../read/query/timegenerator/TimeGenerator.java | 52 ++-
.../read/query/timegenerator/node/AndNode.java | 18 +-
.../read/query/timegenerator/node/OrNode.java | 42 +-
.../iotdb/tsfile/read/reader/LocalTsFileInput.java | 1 +
.../apache/iotdb/tsfile/write/schema/Schema.java | 2 +-
...easurementChunkMetadataListMapIteratorTest.java | 65 ++-
.../tsfile/read/reader/FakedTimeGenerator.java | 15 +-
.../zeppelin/iotdb/IoTDBInterpreterTest.java | 2 +-
215 files changed, 4140 insertions(+), 2304 deletions(-)
create mode 100644 .github/workflows/greetings.yml
copy
cluster/src/main/java/org/apache/iotdb/cluster/server/handlers/caller/{GetChildNodeNextLevelPathHandler.java
=> GetChildNodeNextLevelHandler.java} (80%)
rename
cluster/src/test/java/org/apache/iotdb/cluster/server/member/{MemberTest.java
=> BaseMember.java} (65%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/server/member/RaftMemberTest.java
copy server/src/main/java/org/apache/iotdb/db/metrics/source/Source.java =>
cluster/src/test/java/org/apache/iotdb/cluster/utils/Constants.java (88%)
copy .asf.yaml =>
cluster/src/test/resources/node1conf/iotdb-cluster.properties (60%)
copy {cross-tests/src/test/resources =>
cluster/src/test/resources/node1conf}/iotdb-engine.properties (78%)
copy .asf.yaml =>
cluster/src/test/resources/node2conf/iotdb-cluster.properties (60%)
copy {cross-tests/src/test/resources =>
cluster/src/test/resources/node2conf}/iotdb-engine.properties (78%)
copy .asf.yaml =>
cluster/src/test/resources/node3conf/iotdb-cluster.properties (60%)
copy {cross-tests/src/test/resources =>
cluster/src/test/resources/node3conf}/iotdb-engine.properties (78%)
copy example/flink/src/main/java/org/apache/iotdb/flink/FlinkIoTDBSink.java =>
docs/UserGuide/Ecosystem Integration/Flink IoTDB.md (59%)
copy flink-tsfile-connector/README.md => docs/UserGuide/Ecosystem
Integration/Flink TsFile.md (97%)
create mode 100644 docs/zh/UserGuide/Ecosystem Integration/Flink IoTDB.md
copy flink-tsfile-connector/README.md => docs/zh/UserGuide/Ecosystem
Integration/Flink Tsfile.md (86%)
copy server/src/test/java/org/apache/iotdb/db/integration/{IoTDBVersionIT.java
=> IoTDBExecuteBatchIT.java} (56%)