You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2023/08/24 18:32:49 UTC

[ignite-3] branch catalog-feature updated (5af9efd7a1 -> 6666f36614)

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

amashenkov pushed a change to branch catalog-feature
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


    from 5af9efd7a1 Merge branch 'main' into catalog-feature
     add 1641950030 IGNITE-20265 Check and slightly refactor the validation of tables and indexes in the catalog (#2485)
     add 7516682142 IGNITE-20086 Add Arch Test to validate Mockito resources are cleaned up (#2378)
     add 6666f36614 Merge branch 'main' into catalog-feature

No new revisions were added by this update.

Summary of changes:
 gradle/libs.versions.toml                          |   2 +-
 modules/arch-test/build.gradle                     |   2 +
 .../internal/TestClassHierarchyArchTest.java       |  62 +++++++
 .../apache/ignite/lang/IgniteTestImportOption.java |   8 +-
 .../internal/catalog/CatalogManagerImpl.java       | 103 +++++-------
 .../catalog/CatalogParamsValidationUtils.java      |  67 +++++++-
 ....java => AbstractCreateIndexCommandParams.java} |  94 ++++-------
 .../commands/AbstractIndexCommandParams.java       |  88 +++-------
 .../catalog/commands/CreateHashIndexParams.java    |  36 +---
 .../catalog/commands/CreateSortedIndexParams.java  |  43 ++---
 .../internal/catalog/commands/DropIndexParams.java |  71 +-------
 .../internal/catalog/CatalogManagerSelfTest.java   | 185 +++++++++++----------
 .../catalog/CatalogManagerValidationTest.java      | 103 ++++++++++++
 .../catalog/storage/UpdateLogImplTest.java         |   3 +-
 .../internal/catalog/BaseCatalogManagerTest.java   |  68 ++++++++
 modules/cli/build.gradle                           |   1 +
 .../handler/IgniteCliApiExceptionHandlerTest.java  |   3 +-
 .../client/handler/ItClientHandlerMetricsTest.java |   3 +-
 .../ignite/client/handler/ItClientHandlerTest.java |   3 +-
 .../client/handler/ItSslClientHandlerTest.java     |   3 +-
 .../client/ObservableTimestampPropagationTest.java |   3 +-
 .../management/raft/ItCmgRaftServiceTest.java      |   3 +-
 .../metastore/DeploymentUnitStoreImplTest.java     |   3 +-
 .../deployunit/DeploymentUnitAccessorImplTest.java |   3 +-
 .../DeploymentUnitAcquiredWaiterTest.java          |   3 +-
 .../compute/JobExecutionContextImplTest.java       |   3 +-
 .../compute/loader/JobClassLoaderFactoryTest.java  |   3 +-
 .../compute/loader/JobClassLoaderTest.java         |   3 +-
 .../testframework/ConfigurationExtensionTest.java  |   3 +-
 .../tree/ConverterToMapVisitorTest.java            |   3 +-
 .../validation/ConfigurationValidatorImplTest.java |   3 +-
 .../validation/OneOfValidatorTest.java             |   3 +-
 .../validation/PowerOfTwoValidatorTest.java        |   3 +-
 .../validation/RangeValidatorTest.java             |   3 +-
 .../apache/ignite/internal/HybridClockTest.java    |   3 +-
 .../causality/CompletableVersionedValueTest.java   |   3 +-
 .../causality/IncrementalVersionedValueTest.java   |   3 +-
 .../apache/ignite/internal/util/CursorTest.java    |   3 +-
 .../ignite/internal/util/IgniteUtilsTest.java      |   7 +-
 .../subscription/TransformingPublisherTest.java    |   3 +-
 .../DistributionZoneMockTest.java                  |   3 +-
 .../internal/network/file/ItFileTransferTest.java  |   3 +-
 .../internal/network/file/FileSenderTest.java      |   3 +-
 .../network/file/FileTransferServiceImplTest.java  |   3 +-
 .../ignite/internal/index/IndexManagerTest.java    |   3 +-
 modules/jdbc/build.gradle                          |   1 +
 .../internal/jdbc/PreparedStatementParamsTest.java |   3 +-
 modules/metastorage/build.gradle                   |   1 +
 .../impl/MetaStorageManagerRecoveryTest.java       |   3 +-
 .../metastorage/impl/MetaStorageRangeTest.java     |   3 +-
 .../metastorage/server/OrConditionTest.java        |   3 +-
 .../metastorage/server/time/ClusterTimeTest.java   |   3 +-
 .../server/AbstractKeyValueStorageTest.java        |   3 +-
 modules/metrics/build.gradle                       |   1 +
 .../metrics/exporters/ItJvmMetricSourceTest.java   |   3 +-
 .../exporters/ItMetricExportersLoadingTest.java    |   3 +-
 .../ignite/internal/metrics/JmxExporterTest.java   |   3 +-
 .../internal/metrics/MetricConfigurationTest.java  |   3 +-
 modules/network-annotation-processor/build.gradle  |   1 +
 .../network/processor/tests/GenerationTest.java    |   3 +-
 .../network/netty/ItConnectionManagerTest.java     |   3 +-
 .../network/scalecube/ItClusterServiceTest.java    |   3 +-
 .../SslConfigurationValidatorImplTest.java         |   3 +-
 .../netty/IoExceptionSuppressingHandlerTest.java   |   3 +-
 .../network/processor/InheritedMessageTest.java    |   3 +-
 .../network/processor/SerializationOrderTest.java  |   3 +-
 ...TransferableObjectProcessorIncrementalTest.java |   3 +-
 .../network/recovery/VaultStateIdsTest.java        |   3 +-
 .../serialization/ClassDescriptorMergerTest.java   |   3 +-
 .../network/serialization/MarshallableTest.java    |   3 +-
 .../marshal/BestEffortInstantiationTest.java       |   3 +-
 .../marshal/DefaultSchemaMismatchHandlerTest.java  |   3 +-
 ...ltUserObjectMarshallerWithSchemaChangeTest.java |   3 +-
 .../marshal/SerializableInstantiationTest.java     |   3 +-
 .../network/ssl/SslContextProviderTest.java        |   3 +-
 .../network/AbstractMessagingServiceTest.java      |   3 +-
 .../network/DefaultMessagingServiceTest.java       |   3 +-
 .../MessageSerializationRegistryImplTest.java      |   3 +-
 .../persistence/PartitionMetaManagerTest.java      |   3 +-
 .../AwaitTasksCompletionExecutorTest.java          |   3 +-
 .../checkpoint/CheckpointDirtyPagesTest.java       |   3 +-
 .../checkpoint/CheckpointManagerTest.java          |   3 +-
 .../checkpoint/CheckpointPagesWriterTest.java      |   3 +-
 .../persistence/checkpoint/CheckpointTest.java     |   3 +-
 .../checkpoint/CheckpointTimeoutLockTest.java      |   7 +-
 .../checkpoint/CheckpointWorkflowTest.java         |   7 +-
 .../persistence/checkpoint/CheckpointerTest.java   |   3 +-
 .../ReentrantReadWriteLockWithTrackingTest.java    |   6 +-
 .../persistence/compaction/CompactorTest.java      |   7 +-
 .../store/AbstractFilePageStoreIoTest.java         |   3 +-
 .../store/FilePageStoreManagerTest.java            |   3 +-
 .../persistence/store/FilePageStoreTest.java       |   3 +-
 .../persistence/store/GroupPageStoresMapTest.java  |   3 +-
 .../pagememory/util/GradualTaskExecutorTest.java   |   3 +-
 .../placementdriver/PlacementDriverTest.java       |   3 +-
 .../apache/ignite/internal/raft/ItLozaTest.java    |   3 +-
 .../raft/ItTruncateSuffixAndRestartTest.java       |   3 +-
 .../ignite/raft/jraft/core/ItCliServiceTest.java   |   3 +-
 .../apache/ignite/raft/jraft/core/ItNodeTest.java  | 125 +++++++-------
 .../raft/JraftGroupEventsListenerTest.java         |   3 +-
 .../impl/RocksDbSharedLogStorageAdvancedTest.java  |   3 +-
 .../raft/jraft/conf/ConfigurationEntryTest.java    |   3 +-
 .../raft/jraft/conf/ConfigurationManagerTest.java  |   3 +-
 .../ignite/raft/jraft/core/BallotBoxTest.java      |   3 +-
 .../ignite/raft/jraft/core/FSMCallerTest.java      |   3 +-
 .../ignite/raft/jraft/core/IteratorImplTest.java   |   3 +-
 .../ignite/raft/jraft/core/IteratorTest.java       |   3 +-
 .../raft/jraft/core/ReadOnlyServiceTest.java       |   3 +-
 .../raft/jraft/core/ReplicatorGroupTest.java       |  14 +-
 .../ignite/raft/jraft/core/ReplicatorTest.java     |   3 +-
 .../raft/jraft/rpc/AbstractClientServiceTest.java  |   3 +-
 .../jraft/rpc/impl/PingRequestProcessorTest.java   |   3 +-
 .../impl/cli/AbstractCliRequestProcessorTest.java  |   3 +-
 .../rpc/impl/cli/BaseCliRequestProcessorTest.java  |   5 +-
 .../impl/core/BaseNodeRequestProcessorTest.java    |   3 +-
 .../rpc/impl/core/NodeRequestProcessorTest.java    |   3 +-
 .../ignite/raft/jraft/storage/BaseStorageTest.java |   3 +-
 .../ignite/raft/jraft/storage/FileServiceTest.java |   9 +-
 .../impl/VolatileLogStorageSpecificsTest.java      |   3 +-
 .../storage/snapshot/remote/CopySessionTest.java   |   3 +-
 .../snapshot/remote/RemoteFileCopierTest.java      |   3 +-
 .../ignite/raft/jraft/util/ThreadIdTest.java       |   3 +-
 modules/rest-api/build.gradle                      |   1 +
 .../handler/IgniteExceptionHandlerTest.java        |   3 +-
 modules/rocksdb-common/build.gradle                |   1 +
 .../ignite/internal/rocksdb/RocksUtilsTest.java    |   3 +-
 .../ItDistributedConfigurationPropertiesTest.java  |   3 +-
 .../ItDistributedConfigurationStorageTest.java     |   3 +-
 .../rest/authentication/ItAuthenticationTest.java  |   3 +-
 .../internal/configuration/CompoundModuleTest.java |   3 +-
 .../configuration/ConfigurationModulesTest.java    |   3 +-
 .../DistributedConfigurationUpdaterTest.java       |   3 +-
 .../schema/AbstractSchemaConverterTest.java        |   3 +-
 .../internal/schema/CatalogSchemaManagerTest.java  |   3 +-
 .../configuration/TableValidatorImplTest.java      |   3 +-
 .../index/IndexValidatorImplTest.java              |   3 +-
 .../AuthenticationConfigurationValidatorTest.java  |   3 +-
 .../AuthenticationProvidersValidatorTest.java      |   3 +-
 .../AuthenticationManagerImplTest.java             |   3 +-
 .../exec/ddl/DdlToCatalogCommandConverter.java     |   4 +-
 .../exec/ExecutableTableRegistrySelfTest.java      |   3 +-
 .../sql/engine/exec/ExecutionServiceImplTest.java  |  11 +-
 .../engine/exec/rel/ScannableTableSelfTest.java    |   3 +-
 .../sql/engine/framework/TestClusterTest.java      |   3 +-
 .../engine/schema/CatalogSqlSchemaManagerTest.java |   3 +-
 .../internal/sql/engine/util/TypeUtilsTest.java    |   3 +-
 .../internal/storage/DataStorageManagerTest.java   |   3 +-
 .../internal/storage/DataStorageModulesTest.java   |   3 +-
 .../internal/storage/util/LockHolderTest.java      |   4 +-
 .../storage/util/MvPartitionStoragesTest.java      |   3 +-
 .../internal/storage/BaseMvStoragesTest.java       |   3 +-
 .../storage/index/AbstractIndexStorageTest.java    |   7 +-
 .../PersistentPageMemoryDataRegionTest.java        |   3 +-
 .../PageMemoryDataRegionValidatorImplTest.java     |   3 +-
 .../storage/pagememory/index/InlineUtilsTest.java  |   3 +-
 .../storage/pagememory/mv/BlobStorageTest.java     |   3 +-
 .../storage/rocksdb/RocksDbStorageEngineTest.java  |   3 +-
 .../RocksDbDataRegionValidatorImplTest.java        |   3 +-
 .../RepeatedFinishReadWriteTransactionTest.java    |   3 +-
 .../distributed/ConfiguredTablesCacheTest.java     |   3 +-
 .../table/distributed/LowWatermarkTest.java        |   3 +-
 .../table/distributed/PartitionMoverTest.java      |   3 +-
 .../distributed/StorageUpdateHandlerTest.java      |   3 +-
 .../internal/table/distributed/gc/MvGcTest.java    |   3 +-
 .../distributed/index/IndexUpdateHandlerTest.java  |   3 +-
 .../raft/PartitionCommandListenerTest.java         |   3 +-
 .../raft/snapshot/PartitionAccessImplTest.java     |   3 +-
 .../PartitionSnapshotStorageFactoryTest.java       |   3 +-
 .../snapshot/PartitionSnapshotStorageTest.java     |   3 +-
 .../incoming/IncomingSnapshotCopierTest.java       |   3 +-
 .../incoming/IncomingSnapshotReaderTest.java       |   3 +-
 .../outgoing/OutgoingSnapshotCommonTest.java       |   3 +-
 .../OutgoingSnapshotMvDataStreamingTest.java       |   3 +-
 .../outgoing/OutgoingSnapshotReaderTest.java       |   3 +-
 .../OutgoingSnapshotTxDataStreamingTest.java       |   3 +-
 .../outgoing/OutgoingSnapshotsManagerTest.java     |   3 +-
 .../SnapshotAwarePartitionDataStorageTest.java     |   3 +-
 .../snapshot/outgoing/SnapshotMetaUtilsTest.java   |   3 +-
 .../schema/SchemaSyncServiceImplTest.java          |   3 +-
 .../distributed/storage/InternalTableImplTest.java |   3 +-
 .../tx/impl/ReadOnlyTransactionImplTest.java       |   3 +-
 .../tx/impl/ReadWriteTransactionImplTest.java      |   3 +-
 182 files changed, 917 insertions(+), 679 deletions(-)
 create mode 100644 modules/arch-test/src/test/java/org/apache/ignite/internal/TestClassHierarchyArchTest.java
 copy modules/catalog/src/main/java/org/apache/ignite/internal/catalog/commands/{AbstractIndexCommandParams.java => AbstractCreateIndexCommandParams.java} (51%)