You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ta...@apache.org on 2022/03/13 04:41:26 UTC

[iotdb] branch consensus updated (c67a873 -> 186215d)

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

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


 discard c67a873  init the consensus framework
    omit 7cff204  [To new_cluster] [IOTDB-2683] Hash algorithm for device group (#5188)
    omit 9058ecb  Merge branch 'master' of https://github.com/apache/iotdb into new_cluster
    omit c4e385d  ConfigNode basic framework (#5174)
     add 196d6a9  [IOTDB-2712]Remove reading merge.mods in inner compaction recover (#5186)
     add f133c92  [IOTDB-2598] Enable append operation on template after setting and using (#5110)
     add d16cea4  [IOTDB-2711] Fix memory allocation deadlock by concurrent snapshot requests (#5195)
     add 2232ff6  [IOTDB-2543] Support all time filters in last query (#5063)
     add fd38193  [IOTDB-2582]Enable reading chunk by timestamp (#5100)
     add 0248c3c  Bump hive-storage-api from 2.6.0 to 2.6.1 (#5193)
     add e31f129  [IOTDB-2721]Fix ChunkReaderTest CI (#5201)
     add 4a078dc  [IOTDB-2602] Add the new feature of the null value filter to support filtering based on partial columns (#5184)
     add f75243c  [IOTDB-2728] fix influxdb-protocol yaml (#5206)
     add 5aa3f53  [IOTDB-2461] Zigzag Encoding for INT 32 and INT 64 (#4939)
     add 186215d  init the consensus framework

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (c67a873)
            \
             N -- N -- N   refs/heads/consensus (186215d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .github/workflows/influxdb-protocol.yml            |    6 -
 .../org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4   |    2 +-
 client-py/iotdb/utils/IoTDBConstants.py            |    1 +
 .../org/apache/iotdb/cluster/log/Snapshot.java     |    5 +
 .../cluster/log/snapshot/MetaSimpleSnapshot.java   |   89 +-
 .../cluster/log/snapshot/PartitionedSnapshot.java  |   39 +-
 .../iotdb/cluster/query/LocalQueryExecutor.java    |    6 +-
 .../query/last/ClusterLastQueryExecutor.java       |   40 +-
 .../server/handlers/caller/HeartbeatHandler.java   |    6 +-
 .../iotdb/cluster/server/member/RaftMember.java    |   13 +-
 .../log/snapshot/MetaSimpleSnapshotTest.java       |  118 +-
 .../log/snapshot/PartitionedSnapshotTest.java      |   81 +-
 .../handlers/caller/HeartbeatHandlerTest.java      |   17 +
 confignode/pom.xml                                 |   98 -
 confignode/src/assembly/confignode.xml             |   40 -
 .../resources/conf/iotdb-confignode.properties     |   37 -
 .../iotdb/confignode/conf/ConfigNodeConf.java      |   51 -
 .../iotdb/confignode/conf/ConfigNodeConstant.java  |   30 -
 .../confignode/conf/ConfigNodeDescriptor.java      |  117 --
 .../iotdb/confignode/manager/ConfigManager.java    |   89 -
 .../confignode/manager/hash/APHashExecutor.java    |   42 -
 .../confignode/manager/hash/BKDRHashExecutor.java  |   40 -
 .../manager/hash/DeviceGroupHashExecutor.java      |   31 -
 .../iotdb/confignode/manager/hash/JSHash.java      |   40 -
 .../iotdb/confignode/manager/hash/SDBMHash.java    |   38 -
 .../confignode/partition/DataPartitionRule.java    |   50 -
 .../iotdb/confignode/partition/PartitionTable.java |   59 -
 .../confignode/service/balancer/LoadBalancer.java  |   49 -
 .../service/basic/ConfigServiceProvider.java       |   24 -
 .../service/thrift/impl/ConfigServiceImpl.java     |   76 -
 .../confignode/conf/ConfigNodeDescriptorTest.java  |   76 -
 .../manager/hash/DeviceGroupHashExecutorTest.java  |   95 -
 .../src/test/resources/iotdb-confignode.properties |   31 -
 docs/UserGuide/API/Programming-Java-Native-API.md  |    4 +-
 docs/UserGuide/Data-Concept/Encoding.md            |    7 +-
 docs/UserGuide/Data-Concept/Schema-Template.md     |    2 +
 docs/UserGuide/Operate-Metadata/Template.md        |    2 +
 docs/UserGuide/Query-Data/Last-Query.md            |    8 +-
 docs/UserGuide/Query-Data/Without-Null.md          |  162 +-
 .../UserGuide/API/Programming-Java-Native-API.md   |    1 +
 docs/zh/UserGuide/Data-Concept/Encoding.md         |    7 +-
 docs/zh/UserGuide/Data-Concept/Schema-Template.md  |    2 +-
 docs/zh/UserGuide/Operate-Metadata/Template.md     |    2 +
 docs/zh/UserGuide/Query-Data/Last-Query.md         |    4 +-
 docs/zh/UserGuide/Query-Data/Without-Null.md       |  163 +-
 hive-connector/pom.xml                             |    2 +-
 .../apache/iotdb/db/integration/IoTDBLastIT.java   |  133 ++
 .../IoTDBWithoutNullAllFilterIT.java               | 1973 ++++++++++++++++++++
 .../IoTDBWithoutNullAnyFilterIT.java               | 1866 ++++++++++++++++++
 pom.xml                                            |    3 -
 .../resources/conf/iotdb-engine.properties         |    4 +-
 .../SizeTieredCompactionRecoverTask.java           |   26 +-
 .../utils/SingleSeriesCompactionExecutor.java      |    4 +-
 .../org/apache/iotdb/db/metadata/MManager.java     |   36 +-
 .../org/apache/iotdb/db/metadata/mtree/MTree.java  |  191 +-
 .../db/metadata/mtree/traverser/Traverser.java     |   17 +-
 .../iotdb/db/metadata/template/Template.java       |   39 +
 .../apache/iotdb/db/qp/executor/PlanExecutor.java  |    1 +
 .../iotdb/db/qp/logical/crud/QueryOperator.java    |   29 +-
 .../db/qp/logical/crud/SpecialClauseComponent.java |   22 +
 .../iotdb/db/qp/physical/crud/AggregationPlan.java |    4 +
 .../db/qp/physical/crud/AlignByDevicePlan.java     |   54 +-
 .../iotdb/db/qp/physical/crud/LastQueryPlan.java   |   12 +-
 .../iotdb/db/qp/physical/crud/QueryPlan.java       |   16 +
 .../db/qp/physical/crud/RawDataQueryPlan.java      |   25 +
 .../apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java    |   17 +-
 .../qp/strategy/optimizer/ConcatPathOptimizer.java |  120 ++
 .../db/query/dataset/AlignByDeviceDataSet.java     |    2 +-
 .../dataset/RawQueryDataSetWithoutValueFilter.java |   59 +-
 .../db/query/dataset/UDTFAlignByTimeDataSet.java   |   21 +-
 .../iotdb/db/query/executor/LastQueryExecutor.java |  219 ++-
 .../db/query/reader/chunk/ChunkReaderWrap.java     |    3 +-
 .../reader/chunk/DiskChunkReaderByTimestamp.java   |    8 +-
 .../apache/iotdb/db/utils/QueryDataSetUtils.java   |    7 +-
 .../org/apache/iotdb/db/utils/SchemaUtils.java     |    1 +
 .../db/engine/compaction/TsFileIdentifierUT.java   |    6 +-
 .../SizeTieredCompactionRecoverCompatibleTest.java |  147 +-
 .../org/apache/iotdb/db/metadata/TemplateTest.java |    6 +-
 .../org/apache/iotdb/session/pool/SessionPool.java |   19 +
 .../apache/iotdb/session/template/TemplateUT.java  |  147 +-
 thrift-cluster/src/main/thrift/cluster.thrift      |    1 +
 thrift-confignode/pom.xml                          |   67 -
 .../src/main/thrift/confignode.thrift              |   38 -
 .../iotdb/tsfile/encoding/decoder/Decoder.java     |   10 +
 .../tsfile/encoding/decoder/IntZigzagDecoder.java  |   94 +
 .../tsfile/encoding/decoder/LongZigzagDecoder.java |  101 +
 .../tsfile/encoding/encoder/IntZigzagEncoder.java  |  101 +
 .../tsfile/encoding/encoder/LongZigzagEncoder.java |  111 ++
 .../tsfile/encoding/encoder/TSEncodingBuilder.java |   22 +
 .../tsfile/file/metadata/enums/TSEncoding.java     |    5 +-
 .../tsfile/read/query/dataset/QueryDataSet.java    |   53 +-
 .../read/reader/chunk/AlignedChunkReader.java      |   30 +
 .../chunk/AlignedChunkReaderByTimestamp.java       |   47 -
 .../tsfile/read/reader/chunk/ChunkReader.java      |   24 +
 .../read/reader/chunk/ChunkReaderByTimestamp.java  |   44 -
 .../reader/series/FileSeriesReaderByTimestamp.java |   13 +-
 ...pDecoderTest.java => IntZigzagDecoderTest.java} |   40 +-
 ...DecoderTest.java => LongZigzagDecoderTest.java} |   55 +-
 .../iotdb/tsfile/read/reader/ChunkReaderTest.java  |  109 ++
 .../iotdb/tsfile/write/TsFileReadWriteTest.java    |    3 +-
 100 files changed, 6345 insertions(+), 1762 deletions(-)
 delete mode 100644 confignode/pom.xml
 delete mode 100644 confignode/src/assembly/confignode.xml
 delete mode 100644 confignode/src/assembly/resources/conf/iotdb-confignode.properties
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConf.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeConstant.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/conf/ConfigNodeDescriptor.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/ConfigManager.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/hash/APHashExecutor.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/hash/BKDRHashExecutor.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/hash/DeviceGroupHashExecutor.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/hash/JSHash.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/manager/hash/SDBMHash.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/partition/DataPartitionRule.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/partition/PartitionTable.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/service/balancer/LoadBalancer.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/service/basic/ConfigServiceProvider.java
 delete mode 100644 confignode/src/main/java/org/apache/iotdb/confignode/service/thrift/impl/ConfigServiceImpl.java
 delete mode 100644 confignode/src/test/java/org/apache/iotdb/confignode/conf/ConfigNodeDescriptorTest.java
 delete mode 100644 confignode/src/test/java/org/apache/iotdb/confignode/manager/hash/DeviceGroupHashExecutorTest.java
 delete mode 100644 confignode/src/test/resources/iotdb-confignode.properties
 create mode 100644 integration/src/test/java/org/apache/iotdb/db/integration/withoutNullFilter/IoTDBWithoutNullAllFilterIT.java
 create mode 100644 integration/src/test/java/org/apache/iotdb/db/integration/withoutNullFilter/IoTDBWithoutNullAnyFilterIT.java
 delete mode 100644 thrift-confignode/pom.xml
 delete mode 100644 thrift-confignode/src/main/thrift/confignode.thrift
 create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/IntZigzagDecoder.java
 create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/decoder/LongZigzagDecoder.java
 create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/IntZigzagEncoder.java
 create mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/encoding/encoder/LongZigzagEncoder.java
 delete mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/chunk/AlignedChunkReaderByTimestamp.java
 delete mode 100644 tsfile/src/main/java/org/apache/iotdb/tsfile/read/reader/chunk/ChunkReaderByTimestamp.java
 copy tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/{BitmapDecoderTest.java => IntZigzagDecoderTest.java} (71%)
 copy tsfile/src/test/java/org/apache/iotdb/tsfile/encoding/decoder/{BitmapDecoderTest.java => LongZigzagDecoderTest.java} (60%)
 create mode 100644 tsfile/src/test/java/org/apache/iotdb/tsfile/read/reader/ChunkReaderTest.java