This is an automated email from the ASF dual-hosted git repository.
justinchen pushed a change to branch fix-audit-logger
in repository https://gitbox.apache.org/repos/asf/iotdb.git
from 186837f0579 Pipe: Reduced the conversion logger & Fixed the illegal
formats of PipeLogger (#16503)
add 5ea679f3af3 Implement audit log for tree model (#16475)
add 4b2913050c7 Move password history under __audit (#16496)
add 2ed021362c7 Audit log patch for both tree and table models (#16497)
add 326850435b6 Revert recent updates about audit log (#16498)
add 4bdba5c953d Pipe: Reduced the conversion logger & Fixed the illegal
formats of PipeLogger (#16503)
add 8160a18727a reformat procedure
add 49e857287a6 spotless procedure
add 2d9afef27d2 Throw exception when client with ssl try to connect with
server without ssl (#16504)
add 26a0534b0fa Fix the issue of incorrect %IOTDB_HOME% setting when
running start-cli.bat with parameters in other directories (#16508)
add 755cf0149b4 Audit log big patch (#16501)
add 254f016b75c Fix that TableSchema written in TsFile can be stale after
drop/alter table (#16495)
add a6c5650d2d0 set executedByUserID for AuthorRelationalPlan (#16506)
add 2d44ef034e9 Support user rename (#16512)
add e03560fa653 Fix ratis TLS not working (#16510)
add b4dde12d4cf [AINode][Bug fix] Concurrent inference (#16518)
add e7fb8c38fe5 No need to retry when meets SSL Handshake error between DN
and CN (#16513)
add 5c39de0ccd4 Improve string array class name constant implementation​
(#16514)
add 8ec5aace9c8 Ignore device alignment in timeSeries auto-creation
(#16516)
add 91c51321f3b [To dev/1.3] Load: Optimized the exception error message
of convertion to tablet (#16499)
add 5e00ed5e815 update readme links (#16523)
add 677f9b8e164 Load: Added "skipFailedTableSchemaCheck" parameter (#16522)
add b2175ffa672 Added some common interfaces for compatibility
add dbdc4b43cd2 fix confignode start (#16527)
add 764cedcbfed Pipe: Fixed the potentially missing database auto-create
in receiver (#16529)
add 4d8d1ffdb4a Merge branch 'master' of https://github.com/apache/iotdb
into fix-audit-logger
No new revisions were added by this update.
Summary of changes:
CONTRIBUTING.md | 2 +-
README.md | 18 ++--
README_ZH.md | 17 ++--
docker/ReadMe.md | 2 +-
example/jdbc/pom.xml | 8 ++
.../ainode/it/AINodeConcurrentInferenceIT.java | 84 +++++++++++++++----
.../apache/iotdb/ainode/utils/AINodeTestUtils.java | 7 +-
.../org/apache/iotdb/db/it/auth/IoTDBAuthIT.java | 2 +-
.../iotdb/db/it/auth/IoTDBClusterAuthorityIT.java | 69 ++++++++++-----
.../it/auth/IoTDBClusterAuthorityRelationalIT.java | 46 +++++++---
.../apache/iotdb/db/it/auth/IoTDBUserRenameIT.java | 98 ++++++++++++++++++++++
.../db/it/schema/IoTDBCreateTimeseriesIT.java | 12 +++
.../relational/it/db/it/IoTDBInsertTableIT.java | 56 +++++++++++++
iotdb-client/client-cpp/README.md | 2 +-
.../tests/integration/sqlalchemy/test_dialect.py | 2 +-
.../apache/iotdb/rpc/TElasticFramedTransport.java | 17 +++-
.../iotdb/rpc/TElasticFramedTransportTest.java | 37 ++++++++
.../iotdb/ainode/core/manager/inference_manager.py | 2 +-
.../org/apache/iotdb/db/qp/sql/IoTDBSqlParser.g4 | 7 +-
.../client/async/CnToDnAsyncRequestType.java | 3 +-
.../CnToDnInternalServiceAsyncRequestManager.java | 4 +
.../iotdb/confignode/conf/ConfigNodeConfig.java | 2 +-
.../consensus/request/ConfigPhysicalPlanType.java | 4 +-
.../consensus/request/write/auth/AuthorPlan.java | 13 ++-
.../request/write/auth/AuthorRelationalPlan.java | 15 +++-
.../request/write/auth/AuthorTreePlan.java | 15 +++-
.../iotdb/confignode/manager/ConfigManager.java | 18 +++-
.../confignode/manager/PermissionManager.java | 11 ++-
.../iotdb/confignode/manager/ProcedureManager.java | 2 +-
.../manager/load/service/HeartbeatService.java | 2 +-
.../iotdb/confignode/manager/node/NodeManager.java | 10 +++
.../confignode/persistence/auth/AuthorInfo.java | 9 +-
.../persistence/auth/AuthorPlanExecutor.java | 8 ++
.../persistence/executor/ConfigPlanExecutor.java | 2 +
.../confignode/procedure/store/ProcedureType.java | 2 +
.../thrift/ConfigNodeRPCServiceProcessor.java | 63 ++++++++------
.../apache/iotdb/consensus/ratis/RatisClient.java | 13 ++-
.../iotdb/consensus/ratis/RatisConsensus.java | 9 +-
.../utils/NoHostnameVerificationTrustManager.java | 88 +++++++++++++++++++
.../apache/iotdb/consensus/ratis/utils/Utils.java | 9 +-
.../org/apache/iotdb/db/audit/DNAuditLogger.java | 11 ++-
.../apache/iotdb/db/auth/BasicAuthorityCache.java | 3 +
.../iotdb/db/auth/ClusterAuthorityFetcher.java | 7 +-
.../java/org/apache/iotdb/db/conf/IoTDBConfig.java | 4 +-
.../protocol/thrift/IoTDBDataNodeReceiver.java | 12 +--
.../iotdb/db/protocol/client/ConfigNodeClient.java | 56 ++++++++-----
.../impl/DataNodeInternalRPCServiceImpl.java | 5 ++
.../plan/analyze/load/LoadTsFileAnalyzer.java | 2 +-
.../analyze/load/LoadTsFileTableSchemaCache.java | 86 +++++++++++--------
.../load/TreeSchemaAutoCreatorAndVerifier.java | 4 +-
.../plan/analyze/schema/NormalSchemaFetcher.java | 36 --------
.../execution/config/TableConfigTaskVisitor.java | 1 +
.../execution/config/TreeConfigTaskVisitor.java | 11 +++
.../db/queryengine/plan/parser/ASTVisitor.java | 9 +-
.../plan/relational/metadata/TableSchema.java | 12 +--
.../fetcher/TableHeaderSchemaValidator.java | 26 +++---
.../relational/security/AccessControlImpl.java | 20 +++--
.../security/TreeAccessCheckVisitor.java | 78 +++++++++--------
.../sql/ast/RelationalAuthorStatement.java | 10 +++
.../relational/sql/ast/WrappedInsertStatement.java | 2 +-
.../plan/relational/sql/parser/AstBuilder.java | 8 ++
.../plan/relational/type/AuthorRType.java | 4 +-
.../db/queryengine/plan/statement/AuthorType.java | 6 ++
.../queryengine/plan/statement/StatementType.java | 4 +-
.../plan/statement/sys/AuthorStatement.java | 13 +++
.../statement/sys/ShowConfigurationStatement.java | 2 +
.../mtree/impl/mem/MTreeBelowSGMemoryImpl.java | 17 ----
.../mtree/impl/pbtree/MTreeBelowSGCachedImpl.java | 17 ----
.../java/org/apache/iotdb/db/service/DataNode.java | 14 ++++
.../dataregion/memtable/TsFileProcessor.java | 5 +-
...rtedInsertTabletStatementExceptionVisitor.java} | 18 ++--
...leStatementDataTypeConvertExecutionVisitor.java | 23 +++--
...rtedInsertTabletStatementExceptionVisitor.java} | 2 +-
...eeStatementDataTypeConvertExecutionVisitor.java | 19 +++--
.../converter/LoadTsFileDataTypeConverter.java | 8 +-
iotdb-core/metrics/ReadMe.md | 4 +-
.../conf/iotdb-system.properties.template | 2 +-
.../iotdb/commons/audit/AbstractAuditLogger.java | 5 +-
.../commons/auth/authorizer/BasicAuthorizer.java | 5 ++
.../iotdb/commons/auth/authorizer/IAuthorizer.java | 9 ++
.../commons/auth/authorizer/OpenIdAuthorizer.java | 5 ++
.../iotdb/commons/auth/user/BasicUserManager.java | 24 ++++++
.../apache/iotdb/commons/conf/CommonConfig.java | 13 +++
.../apache/iotdb/commons/conf/IoTDBConstant.java | 4 +
.../iotdb/commons/pipe/config/PipeConfig.java | 4 +
.../iotdb/commons/pipe/config/PipeDescriptor.java | 5 ++
.../db/relational/grammar/sql/RelationalSql.g4 | 5 ++
.../src/main/thrift/confignode.thrift | 4 +
.../src/main/thrift/datanode.thrift | 8 ++
pom.xml | 1 +
scripts/sbin/windows/start-cli.bat | 18 ++--
91 files changed, 1085 insertions(+), 376 deletions(-)
create mode 100644
integration-test/src/test/java/org/apache/iotdb/db/it/auth/IoTDBUserRenameIT.java
create mode 100644
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/utils/NoHostnameVerificationTrustManager.java
copy
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/{LoadConvertedInsertTabletStatementExceptionVisitor.java
=> LoadTableConvertedInsertTabletStatementExceptionVisitor.java} (76%)
rename
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/{LoadConvertedInsertTabletStatementExceptionVisitor.java
=> LoadTreeConvertedInsertTabletStatementExceptionVisitor.java} (97%)