This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a change to branch enable_cache_leader_0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from 7b21213 fix it
add fa7af01 cherry pick to 0.12 cluster exe batch bug (#3476)
add f8c47a2 [To rel/0.12] Cherry pick Windows start-up script fixes
(#3492)
add 5c03e61 Fix Load configuration command shows null error message
#3458 (#3491)
add 747c7ba fix cross space compaction recover bug (#3488)
add 0d2872e [To rel/0.12] Primitive Array Manager v2 (#3484)
add 68e8801 fix take byte array null pointer (#3497)
add f0344f6 [To rel/0.12] Bug fix: time interval is parsed incorrectly
(#3504)
add 82da977 [IOTDB-1461][To rel/0.12] Fix compaction conflicts with ttl
(#3509)
add 8eee30e Primitive Array Manager v3 (#3508)
add 5787d13 fix monitor bug (#3512)
add 8f567e9 add audit log when execute delete and set sg for tracing
(#3511)
add e80ffa8 PrimitiveArrayManager: improve accuracy when updating limits
(#3521)
add c2fc008 [IOTDB-1469][To rel/0.12]fix cross space compaction loss data
bug (#3515)
add 36ae1e5 [To rel/0.12] Use StringCachedPool in TsFileResource to
reduce the memory size (#3514)
add f23af15 [IOTDB-1466] Support device template in rel/0.12 (#3510)
add a8ba277 Merge branch 'rel/0.12' of github.com:Apache/incubator-iotdb
into enable_cache_leader_0.12
No new revisions were added by this update.
Summary of changes:
.../iotdb/cluster/coordinator/Coordinator.java | 108 +++++--
.../iotdb/cluster/log/applier/BaseApplier.java | 4 +-
.../apache/iotdb/cluster/metadata/CMManager.java | 94 ++++--
.../cluster/server/member/DataGroupMember.java | 4 +-
.../iotdb/cluster/server/member/RaftMember.java | 10 +
.../apache/iotdb/cluster/utils/PartitionUtils.java | 8 +-
.../apache/iotdb/cluster/utils/PlanSerializer.java | 8 +-
.../apache/iotdb/cluster/utils/StatusUtils.java | 3 +-
.../iotdb/cluster/integration/SingleNodeTest.java | 35 +++
server/src/assembly/resources/conf/iotdb-env.bat | 39 ++-
.../org/apache/iotdb/db/conf/IoTDBDescriptor.java | 30 +-
.../iotdb/db/cost/statistic/Measurement.java | 4 +-
.../org/apache/iotdb/db/engine/StorageEngine.java | 3 +-
.../level/LevelCompactionTsFileManagement.java | 62 ++--
.../db/engine/merge/task/MergeMultiChunkTask.java | 11 +-
.../db/engine/querycontext/QueryDataSource.java | 12 +-
.../engine/storagegroup/StorageGroupProcessor.java | 41 +--
.../storagegroup/timeindex/DeviceTimeIndex.java | 1 +
.../storagegroup/timeindex/FileTimeIndex.java | 1 +
...ption.java => DuplicatedTemplateException.java} | 13 +-
...eption.java => UndefinedTemplateException.java} | 13 +-
.../org/apache/iotdb/db/metadata/MManager.java | 278 +++++++++++++----
.../java/org/apache/iotdb/db/metadata/MTree.java | 200 +++++++++---
.../iotdb/db/metadata/logfile/MLogWriter.java | 21 ++
.../org/apache/iotdb/db/metadata/mnode/MNode.java | 69 +++++
.../iotdb/db/metadata/template/Template.java | 147 +++++++++
.../org/apache/iotdb/db/monitor/StatMonitor.java | 4 +-
.../apache/iotdb/db/qp/executor/PlanExecutor.java | 48 ++-
.../org/apache/iotdb/db/qp/logical/Operator.java | 4 +
.../org/apache/iotdb/db/qp/physical/BatchPlan.java | 11 +
.../apache/iotdb/db/qp/physical/PhysicalPlan.java | 59 ++--
.../db/qp/physical/crud/CreateTemplatePlan.java | 270 +++++++++++++++++
.../physical/crud/InsertRowsOfOneDevicePlan.java | 7 +
.../SetDeviceTemplatePlan.java} | 82 +++--
...oupPlan.java => AutoCreateDeviceMNodePlan.java} | 69 ++---
...upPlan.java => SetUsingDeviceTemplatePlan.java} | 65 ++--
.../apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java | 55 +++-
.../apache/iotdb/db/qp/utils/DatetimeUtils.java | 13 +
.../db/query/dataset/AlignByDeviceDataSet.java | 14 +-
.../iotdb/db/rescon/PrimitiveArrayManager.java | 336 ++++++++++-----------
.../org/apache/iotdb/db/service/TSServiceImpl.java | 83 +++++
.../iotdb/db/utils/datastructure/TVList.java | 2 +-
.../iotdb/db/engine/merge/MergeTaskTest.java | 151 +++++++++
.../storagegroup/StorageGroupProcessorTest.java | 18 +-
.../iotdb/db/engine/storagegroup/TTLTest.java | 6 +-
.../iotdb/db/metadata/MManagerBasicTest.java | 302 ++++++++++++++++++
.../iotdb/db/metadata/MManagerImproveTest.java | 17 +-
.../iotdb/db/qp/physical/InsertRowPlanTest.java | 200 ++++++++++++
.../iotdb/db/qp/physical/InsertTabletPlanTest.java | 156 ++++++++++
.../reader/series/SeriesAggregateReaderTest.java | 6 +-
.../reader/series/SeriesReaderByTimestampTest.java | 6 +-
.../main/java/org/apache/iotdb/rpc/RpcUtils.java | 1 +
.../java/org/apache/iotdb/rpc/TSStatusCode.java | 3 +
.../java/org/apache/iotdb/session/Session.java | 76 +++++
.../apache/iotdb/session/SessionConnection.java | 40 +++
thrift/src/main/thrift/rpc.thrift | 20 ++
56 files changed, 2697 insertions(+), 646 deletions(-)
mode change 100644 => 100755 server/src/assembly/resources/conf/iotdb-env.bat
copy
server/src/main/java/org/apache/iotdb/db/exception/metadata/{IllegalParameterOfPathException.java
=> DuplicatedTemplateException.java} (73%)
copy
server/src/main/java/org/apache/iotdb/db/exception/metadata/{IllegalParameterOfPathException.java
=> UndefinedTemplateException.java} (73%)
create mode 100644
server/src/main/java/org/apache/iotdb/db/metadata/template/Template.java
create mode 100644
server/src/main/java/org/apache/iotdb/db/qp/physical/crud/CreateTemplatePlan.java
copy server/src/main/java/org/apache/iotdb/db/qp/physical/{sys/SetTTLPlan.java
=> crud/SetDeviceTemplatePlan.java} (50%)
copy
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{SetStorageGroupPlan.java
=> AutoCreateDeviceMNodePlan.java} (58%)
copy
server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{DeleteStorageGroupPlan.java
=> SetUsingDeviceTemplatePlan.java} (53%)
create mode 100644
server/src/test/java/org/apache/iotdb/db/qp/physical/InsertRowPlanTest.java