You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2021/08/29 11:51:58 UTC

[iotdb] branch sonarbug updated (dc8330b -> efd67ff)

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

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


    from dc8330b  Merge branch 'master' of https://github.com/apache/iotdb into sonarbug
     add ff20e38  [IOTDB-1561] Fix problems caused by keywords (#3756) (#3761)
     add 88285bd  modified the description of tlog  (#3766)
     add 87506eb  edit deletion log (#3763)
     add ec570fc  Fix incorrect descriptions in DDL-Data-Definition-Language(Chinses) and a typo in DML-Data-Manipulation-Language(Chinses) (#3768)
     add 0dc0eee  [IOTDB-1566] Do not restrict concurrent write partitions (#3767)
     add 00ae7dd  new ExclusiveWriteLogNode (#3772)
     add cebab26  PrimitiveArrayManager: make POOLED_ARRAYS_MEMORY_THRESHOLD smaller than its actual allowed value (#3775)
     add 120678a  PrimitiveArrayManager: reduce log of array deque size update & add limitUpdateThreshold update log (#3778)
     add 7775c46  [cherry-pick from rel/0.12] add log for StackOverflowError in eExpressionOptimizer (#3773)
     add 89bcef8  [IOTDB-1565] Add sql: set system to readonly / writable (#3771)
     add 582e742  [IOTDB-1473] Fix the bug that run SessionExample.java will be failed in (#3770)
     add 45f5952  [IOTDB-1574] [ISSUE-3786] Data file is deleted while file handle is not released (#3787)
     add 55d037f  [IOTDB-1575] Tsfile valueFilter cannot handle multiple pages (#3789)
     add 125f8cf  Fix gitattribute covert picture (#3798)
     add 5edb1a2  [IOTDB-1576] Update cluster setup document (#3689)
     add 064ed14  claim current JDBC is not suitable for high throughput operations (#3783)
     add 94780ea  Cherry Pick some cluster bug-fixs from rel/0.12 to master (#3800)
     add 6744732  Fix typo in #3783 (#3803)
     add 8ec3e12  [ISSUE-3805] OOM caused by Chunk cache (#3807)
     add 62135fc  [IOTDB-1587] SessionPool optimization: a more aggressive Session creation strategy (#3823)
     add 757619c  [IOTDB-1580] Error result of order by time desc when enable time partition (#3819)
     add 71315e8  change delete logger to debug (#3824)
     add d075f87  Bug fix: MAX_TIME is incorrect in cluster mode (#3826)
     add 4d66b1d  [IOTDB-1569] Timed close TsFileProcessor (#3776)
     add 3bacba0  [IOTDB-1586] Support mysql-style Like clause (#3738)
     add 17c9677  [ISSUE-3811] Provide a data type column for the last query dataset (#3834)
     add 228d62d   [IOTDB-1594] Fix show timeseries returns incorrect tag value (#3845)
     add a5b738d  [ISSUE-3811] Provide a data type column for the last query dataset (#3843)
     add 986f57e  [IOTDB-1591] Execute CREATE FUNCTION on 1 node, this FUNCTION is invisible to other nodes (#3855)
     add efd67ff  Merge branch 'master' of https://github.com/apache/iotdb into sonarbug

No new revisions were added by this update.

Summary of changes:
 .gitattributes                                     |   2 +-
 .../antlr4/org/apache/iotdb/db/qp/sql/SqlBase.g4   |  36 +-
 .../iotdb/cluster/coordinator/Coordinator.java     |  33 +-
 .../apache/iotdb/cluster/metadata/CMManager.java   |   6 +-
 .../iotdb/cluster/query/LocalQueryExecutor.java    |   2 +-
 .../iotdb/cluster/server/MetaClusterServer.java    |   1 +
 .../cluster/server/member/DataGroupMember.java     |  54 ++
 .../QueryEngine/ResultSetConstruction.md           |  10 +-
 docs/SystemDesign/SchemaManager/SchemaManager.md   |   4 +-
 docs/UserGuide/API/Programming-JDBC.md             |   4 +
 .../Advanced-Features/UDF-User-Defined-Function.md |   7 +-
 docs/UserGuide/Appendix/SQL-Reference.md           |  59 ++-
 docs/UserGuide/Cluster/Cluster-Setup-Example.md    | 191 +++++++-
 docs/UserGuide/Cluster/Cluster-Setup.md            | 545 ++++++++++++---------
 .../DML-Data-Manipulation-Language.md              |  30 +-
 .../IoTDB-SQL-Language/Maintenance-Command.md      |  28 +-
 .../QueryEngine/ResultSetConstruction.md           |  10 +-
 .../zh/SystemDesign/SchemaManager/SchemaManager.md |   4 +-
 docs/zh/UserGuide/API/Programming-JDBC.md          |   3 +
 .../Advanced-Features/UDF-User-Defined-Function.md |   7 +-
 docs/zh/UserGuide/Appendix/SQL-Reference.md        |  62 ++-
 docs/zh/UserGuide/Cluster/Cluster-Setup-Example.md | 225 +++++++--
 docs/zh/UserGuide/Cluster/Cluster-Setup.md         | 509 +++++++++++--------
 .../DDL-Data-Definition-Language.md                |  45 +-
 .../DML-Data-Manipulation-Language.md              |  36 +-
 .../IoTDB-SQL-Language/Maintenance-Command.md      |  31 +-
 .../main/java/org/apache/iotdb/SessionExample.java |   2 +-
 .../resources/conf/iotdb-engine.properties         |  39 +-
 .../java/org/apache/iotdb/db/conf/IoTDBConfig.java |  82 +++-
 .../org/apache/iotdb/db/conf/IoTDBDescriptor.java  | 129 +++--
 .../org/apache/iotdb/db/engine/StorageEngine.java  | 160 ++++--
 .../apache/iotdb/db/engine/cache/ChunkCache.java   |  62 +--
 .../db/engine/cache/TimeSeriesMetadataCache.java   | 100 +---
 .../level/LevelCompactionTsFileManagement.java     |  12 +-
 .../engine/storagegroup/StorageGroupProcessor.java | 105 +++-
 .../db/engine/storagegroup/TsFileProcessor.java    |  13 +-
 .../virtualSg/VirtualStorageGroupManager.java      |  24 +-
 .../org/apache/iotdb/db/metadata/MManager.java     |  19 +-
 .../apache/iotdb/db/metadata/MeasurementMeta.java  |  85 ----
 .../org/apache/iotdb/db/metadata/Metadata.java     | 120 -----
 .../iotdb/db/metadata/logfile/MLogTxtWriter.java   |   1 -
 .../iotdb/db/metadata/logfile/MLogWriter.java      |   1 -
 .../{ => logfile}/MetadataOperationType.java       |   2 +-
 .../db/metadata/{logfile => tag}/TagLogFile.java   |  10 +-
 .../apache/iotdb/db/metadata/tag/TagManager.java   |   1 -
 .../iotdb/db/qp/constant/FilterConstant.java       |   3 +
 .../apache/iotdb/db/qp/constant/SQLConstant.java   |   2 +
 .../apache/iotdb/db/qp/executor/PlanExecutor.java  |   8 +
 .../org/apache/iotdb/db/qp/logical/Operator.java   |   3 +-
 .../iotdb/db/qp/logical/crud/LikeOperator.java     |   5 -
 .../{LikeOperator.java => RegexpOperator.java}     |  32 +-
 ...eryOperator.java => SetSystemModeOperator.java} |  31 +-
 .../{KillQueryPlan.java => SetSystemModePlan.java} |  15 +-
 .../apache/iotdb/db/qp/sql/IoTDBSqlVisitor.java    |  27 +-
 .../iotdb/db/query/control/QueryFileManager.java   |   2 +-
 .../iotdb/db/query/executor/LastQueryExecutor.java |  11 +-
 .../iotdb/db/rescon/PrimitiveArrayManager.java     |  17 +-
 .../java/org/apache/iotdb/db/service/IoTDB.java    |   9 +
 .../org/apache/iotdb/db/service/StaticResps.java   |   6 +-
 .../org/apache/iotdb/db/service/TSServiceImpl.java |  14 +-
 .../writelog/manager/MultiFileLogNodeManager.java  |   9 +-
 .../db/writelog/node/ExclusiveWriteLogNode.java    |  86 ++--
 .../storagegroup/StorageGroupProcessorTest.java    | 130 ++++-
 .../org/apache/iotdb/db/integration/IoTDBAsIT.java |  10 +-
 .../apache/iotdb/db/integration/IoTDBFillIT.java   |   2 +-
 .../apache/iotdb/db/integration/IoTDBLastIT.java   | 131 +++--
 .../apache/iotdb/db/integration/IoTDBLikeIT.java   | 169 +++++++
 .../iotdb/db/integration/IoTDBQueryDemoIT.java     |  10 +-
 ....java => IoTDBSetSystemReadOnlyWritableIT.java} | 135 ++++-
 ...tionDeleteIT.java => IoTDBTimePartitionIT.java} |  69 +--
 .../aggregation/IoTDBAggregationSmallDataIT.java   |   8 +-
 .../iotdb/db/qp/logical/LogicalPlanSmallTest.java  |   4 +-
 .../iotdb/db/qp/physical/PhysicalPlanTest.java     |   4 +-
 .../java/org/apache/iotdb/session/Session.java     |  29 +-
 .../org/apache/iotdb/session/pool/SessionPool.java | 258 ++++++----
 .../iotdb/session/IoTDBSessionComplexIT.java       |   2 +-
 .../iotdb/session/IoTDBSessionIteratorIT.java      |  26 +-
 .../java/org/apache/iotdb/session/SessionTest.java |   6 +-
 .../apache/iotdb/session/pool/SessionPoolTest.java | 103 +++-
 site/src/main/.vuepress/config.js                  |  12 +-
 .../test/java/org/apache/iotdb/db/sql/Cases.java   |   4 +-
 .../read/expression/util/ExpressionOptimizer.java  |  34 +-
 .../iotdb/tsfile/read/filter/ValueFilter.java      |  27 +
 .../read/filter/factory/FilterSerializeId.java     |   1 +
 .../iotdb/tsfile/read/filter/operator/Like.java    |  50 +-
 .../filter/operator/{Like.java => Regexp.java}     |  14 +-
 .../read/query/timegenerator/node/LeafNode.java    |   2 +-
 .../iotdb/tsfile/read/ReadOnlyTsFileTest.java      |  69 +++
 .../tsfile/write/MetadataIndexConstructorTest.java |   3 +-
 89 files changed, 2965 insertions(+), 1538 deletions(-)
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/MeasurementMeta.java
 delete mode 100644 server/src/main/java/org/apache/iotdb/db/metadata/Metadata.java
 rename server/src/main/java/org/apache/iotdb/db/metadata/{ => logfile}/MetadataOperationType.java (97%)
 rename server/src/main/java/org/apache/iotdb/db/metadata/{logfile => tag}/TagLogFile.java (97%)
 copy server/src/main/java/org/apache/iotdb/db/qp/logical/crud/{LikeOperator.java => RegexpOperator.java} (80%)
 copy server/src/main/java/org/apache/iotdb/db/qp/logical/sys/{KillQueryOperator.java => SetSystemModeOperator.java} (69%)
 copy server/src/main/java/org/apache/iotdb/db/qp/physical/sys/{KillQueryPlan.java => SetSystemModePlan.java} (81%)
 create mode 100644 server/src/test/java/org/apache/iotdb/db/integration/IoTDBLikeIT.java
 copy server/src/test/java/org/apache/iotdb/db/integration/{IoTDBClearCacheIT.java => IoTDBSetSystemReadOnlyWritableIT.java} (64%)
 copy server/src/test/java/org/apache/iotdb/db/integration/{aggregation/IoTDBAggregationDeleteIT.java => IoTDBTimePartitionIT.java} (57%)
 copy tsfile/src/main/java/org/apache/iotdb/tsfile/read/filter/operator/{Like.java => Regexp.java} (91%)