This is an automated email from the ASF dual-hosted git repository. caogaofei pushed a commit to branch for_tsbs in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 2aa22287804a4d40c3e552401bc1bfac50da0cec Merge: 6554807936 86be5ea16a Author: Beyyes <[email protected]> AuthorDate: Wed Apr 26 16:47:16 2023 +0800 Merge branch 'master' of github.com:apache/iotdb .../consensus/request/auth/AuthorPlan.java | 29 +- .../iotdb/confignode/manager/ConfigManager.java | 2 +- .../apache/iotdb/confignode/manager/IManager.java | 2 +- .../confignode/manager/PermissionManager.java | 3 +- .../iotdb/confignode/persistence/AuthorInfo.java | 34 +- .../thrift/ConfigNodeRPCServiceProcessor.java | 10 +- .../request/ConfigPhysicalPlanSerDeTest.java | 8 +- .../confignode/persistence/AuthorInfoTest.java | 30 +- .../iotdb/consensus/ratis/SnapshotStorage.java | 8 +- .../confignode/it/IoTDBClusterAuthorityIT.java | 88 +- .../db/it/schema/IoTDBAutoCreateSchemaIT.java | 1 + .../it/schema/IoTDBCreateAlignedTimeseriesIT.java | 1 + .../db/it/schema/IoTDBCreateStorageGroupIT.java | 1 + .../db/it/schema/IoTDBCreateTimeseriesIT.java | 1 + .../db/it/schema/IoTDBDeactivateTemplateIT.java | 1 + .../it/schema/IoTDBDeleteAlignedTimeseriesIT.java | 1 + .../db/it/schema/IoTDBDeleteStorageGroupIT.java | 1 + .../db/it/schema/IoTDBDeleteTimeseriesIT.java | 1 + .../iotdb/db/it/schema/IoTDBExtendTemplateIT.java | 1 + .../iotdb/db/it/schema/IoTDBMetadataFetchIT.java | 1 + .../iotdb/db/it/schema/IoTDBSchemaTemplateIT.java | 66 +- .../db/it/schema/IoTDBSortedShowTimeseriesIT.java | 1 + .../apache/iotdb/db/it/schema/IoTDBTagAlterIT.java | 1 + .../org/apache/iotdb/db/it/schema/IoTDBTagIT.java | 1 + .../session/it/IoTDBSessionSchemaTemplateIT.java | 13 +- .../{db/it/schema => util}/AbstractSchemaIT.java | 4 +- .../commons/auth/authorizer/BasicAuthorizer.java | 35 +- .../iotdb/commons/auth/authorizer/IAuthorizer.java | 33 +- .../commons/auth/authorizer/OpenIdAuthorizer.java | 3 +- .../iotdb/commons/auth/entity/PathPrivilege.java | 29 +- .../org/apache/iotdb/commons/auth/entity/Role.java | 13 +- .../org/apache/iotdb/commons/auth/entity/User.java | 13 +- .../iotdb/commons/auth/role/BasicRoleManager.java | 5 +- .../iotdb/commons/auth/role/IRoleManager.java | 6 +- .../iotdb/commons/auth/user/BasicUserManager.java | 5 +- .../iotdb/commons/auth/user/IUserManager.java | 6 +- .../org/apache/iotdb/commons/utils/AuthUtils.java | 96 +- .../org/apache/iotdb/commons/utils/IOUtils.java | 8 +- .../org/apache/iotdb/db/auth/AuthorityChecker.java | 10 +- .../apache/iotdb/db/auth/AuthorizerManager.java | 15 +- .../iotdb/db/auth/ClusterAuthorityFetcher.java | 38 +- .../apache/iotdb/db/auth/IAuthorityFetcher.java | 3 +- .../performer/impl/FastCompactionPerformer.java | 11 +- .../impl/ReadPointCompactionPerformer.java | 3 + .../execute/utils/MultiTsFileDeviceIterator.java | 4 +- .../fast/AlignedSeriesCompactionExecutor.java | 3 +- .../readchunk/SingleSeriesCompactionExecutor.java | 38 +- .../utils/writer/AbstractCompactionWriter.java | 7 +- .../iotdb/db/engine/storagegroup/DataRegion.java | 62 +- .../db/metadata/cache/DataNodeSchemaCache.java | 24 + .../db/metadata/cache/TimeSeriesSchemaCache.java | 57 + .../metadata/cache/dualkeycache/IDualKeyCache.java | 4 + .../dualkeycache/impl/CacheEntryGroupImpl.java | 2 +- .../cache/dualkeycache/impl/DualKeyCacheImpl.java | 102 +- .../mpp/execution/schedule/DriverTaskThread.java | 7 +- .../iotdb/db/mpp/metric/QueryMetricsManager.java | 140 +- .../db/mpp/plan/analyze/cache/PartitionCache.java | 10 +- .../plan/analyze/schema/ClusterSchemaFetcher.java | 5 - .../db/mpp/plan/analyze/schema/ISchemaFetcher.java | 2 - .../db/mpp/plan/parser/StatementGenerator.java | 20 +- .../iotdb/db/query/context/QueryContext.java | 2 + .../query/control/clientsession/ClientSession.java | 3 +- .../impl/DataNodeInternalRPCServiceImpl.java | 7 +- .../iotdb/db/auth/AuthorizerManagerTest.java | 26 +- .../auth/authorizer/LocalFileAuthorizerTest.java | 9 +- .../iotdb/db/auth/entity/PathPrivilegeTest.java | 8 +- .../org/apache/iotdb/db/auth/entity/RoleTest.java | 8 +- .../org/apache/iotdb/db/auth/entity/UserTest.java | 8 +- .../db/auth/role/LocalFileRoleAccessorTest.java | 6 +- .../db/auth/role/LocalFileRoleManagerTest.java | 8 +- .../db/auth/user/LocalFileUserAccessorTest.java | 6 +- .../db/auth/user/LocalFileUserManagerTest.java | 8 +- .../engine/compaction/AbstractCompactionTest.java | 3 + .../compaction/FastAlignedCrossCompactionTest.java | 751 +++-- .../FastNonAlignedCrossCompactionTest.java | 767 ++++-- .../compaction/ReadChunkInnerCompactionTest.java | 377 +++ ...va => ReadPointAlignedCrossCompactionTest.java} | 804 ++++-- ...=> ReadPointNonAlignedCrossCompactionTest.java} | 820 ++++-- .../ReadChunkCompactionPerformerNoAlignedTest.java | 274 ++ .../utils/CompactionFileGeneratorUtils.java | 60 + .../compaction/utils/TsFileGeneratorUtils.java | 116 +- .../db/metadata/cache/DataNodeSchemaCacheTest.java | 50 + .../db/mpp/plan/analyze/FakeSchemaFetcherImpl.java | 3 - .../iotdb/db/mpp/plan/plan/distribution/Util.java | 3 - .../AlignedSeriesScanLimitOffsetPushDownTest.java | 36 +- .../series/SeriesScanLimitOffsetPushDownTest.java | 23 +- .../security/encrypt/MessageDigestEncryptTest.java | 6 +- site/src/main/package-lock.json | 2881 +++++++------------- .../src/main/thrift/confignode.thrift | 4 +- thrift/src/main/thrift/client.thrift | 3 + .../iotdb/tsfile/read/TsFileSequenceReader.java | 2 +- .../read/reader/chunk/AlignedChunkReader.java | 40 +- .../tsfile/read/reader/chunk/ChunkReader.java | 4 + .../tsfile/write/chunk/AlignedChunkWriterImpl.java | 42 +- 94 files changed, 5111 insertions(+), 3186 deletions(-)
