This is an automated email from the ASF dual-hosted git repository. amashenkov pushed a change to branch ignite-20624 in repository https://gitbox.apache.org/repos/asf/ignite-3.git
from 483867de1c Get future completion to outside synchronized block. add e917054b5f IGNITE-20530 Start building indexes for write-only indexes (#2704) add a6146c1b56 IGNITE-20659 Placement driver do not create a lease (#2700) add 0a59af8a10 IGNITE-20668 Increase wait after a DDL to account for idle safe-time propagation period (#2703) add 18f52ed747 IGNITE-20522 Create the default user 'Ignite' (#2684) add fc1d0976ca IGNITE-20616 ensureReplicaIsPrimary should use getPrimaryReplica instead of awaitPrimaryReplica (#2701) add ea9133d0aa IGNITE-20671 Sql. Fixed ItSqlApiTest#ddl test (#2708) add 7953fabb2f IGNITE-20677 Sql. Improve error reporting in assertThrowsSqlException (#2707) add 7aa17fe138 IGNITE-20600 Sql. Fix a message of an error, which occurs while updating primary key column (#2695) add cbcdd9357b IGNITE-20478 Sql. Get rid of UNSPECIFIED_VALUE_PLACEHOLDER (#2671) add 154c99c28a IGNITE-20430 Got rid of unused set and fixed replica waiters removal (#2604) add 87792091f1 IGNITE-20454 Sql. Added a callback that is notified when data prefetching is complete (#2674) add 3e8cad9947 IGNITE-20002 Implement durable unlock on primary partition re-election (#2697) add 3d4e1341a9 IGNITE-20630 Select only available nodes for deployment unit download (#2713) add 1883697a1d IGNITE-20693 Fixed NPE in placement driver actor on deactivation (#2718) add e8250c9522 IGNITE-20695 Cleanup resource (#2723) add 1671500d10 IGNITE-20545 Improve logging in AbstractRpcTest (#2717) add bdde52ff81 IGNITE-20395 Clean up write intents for RW transaction on primary (#2679) add 35d03f08c0 IGNITE-20699 Decrease idle safe time propagation period in tests (#2730) add 4c79c5d97a IGNTIE-20629 Exclude ODBC build from assemble pipeline by default (#2706) add 07a5b3069c Merge branch 'main' into ignite-20624 No new revisions were added by this update. Summary of changes: gradle.properties | 3 + gradle/wrapper/gradle-wrapper.properties | 2 +- .../internal/ConfigurationModuleArchTest.java | 92 ++++++ .../internal/catalog/CatalogManagerImpl.java | 24 +- .../commands/AlterTableDropColumnCommand.java | 17 +- .../internal/catalog/CatalogManagerSelfTest.java | 8 +- .../AlterTableDropColumnCommandValidationTest.java | 4 +- .../internal/rest/ItGeneratedRestClientTest.java | 5 +- .../apache/ignite/client/fakes/FakeTxManager.java | 6 + .../cluster/management/ClusterInitializer.java | 35 ++- .../management/ClusterManagementGroupManager.java | 33 +- .../internal/cluster/management/ClusterState.java | 2 +- .../network/messages/CmgInitMessage.java | 4 +- .../cluster/management/ClusterInitializerTest.java | 7 +- .../management/raft/CmgRaftGroupListenerTest.java | 4 +- .../internal/cluster/management/MockNode.java | 17 +- .../deployunit/DeployMessagingService.java | 19 +- .../exception/DeploymentUnitReadException.java | 9 + ...va => ConfigurationDynamicDefaultsPatcher.java} | 24 +- .../ignite/configuration/ConfigurationModule.java | 20 ++ .../ignite}/configuration/SuperRootChange.java | 2 +- .../presentation/HoconPresentation.java | 2 +- .../configuration/ConfigurationConverter.java | 62 ++++ .../ConfigurationDynamicDefaultsPatcherImpl.java | 88 ++++++ .../configuration/ConfigurationRegistry.java | 52 +--- .../configuration/SuperRootChangeImpl.java | 54 ++++ .../configuration/hocon/HoconConverter.java | 39 ++- ...onfigurationDynamicDefaultsPatcherImplTest.java | 57 ++++ .../configuration/TestConfigurationModule.java} | 25 +- .../configuration}/TestConfigurationSchema.java | 15 +- .../configuration/TestSubConfigurationSchema.java | 13 +- .../configuration/hocon/HoconConverterTest.java | 6 +- .../java/org/apache/ignite/internal/Hacks.java} | 12 +- .../testframework/BaseIgniteAbstractTest.java | 2 + .../matchers/HttpResponseMatcher.java | 89 ++++++ .../internal/index/IndexBuildController.java | 28 +- .../index/IndexAvailabilityControllerTest.java | 5 +- .../internal/index/IndexBuildControllerTest.java | 71 ++++- .../ignite/internal/marshaller/Marshaller.java | 1 - .../ItMetaStorageMultipleNodesAbstractTest.java | 12 +- .../metastorage/impl/ItMetaStorageWatchTest.java | 12 +- .../placementdriver/TestPlacementDriver.java | 31 +- modules/placement-driver/build.gradle | 2 + .../internal/placementdriver/LeaseUpdater.java | 20 +- .../placementdriver/leases/LeaseTracker.java | 41 +-- .../internal/placementdriver/leases/Leases.java | 2 +- .../internal/placementdriver/LeaseTrackerTest.java | 102 +++++++ .../internal/placementdriver/LeaseUpdaterTest.java | 281 +++++++++++++++++ modules/platforms/build.gradle | 12 +- .../ignite/raft/jraft/rpc/IgniteRpcTest.java | 61 ++-- .../apache/ignite/raft/jraft/test/TestUtils.java | 2 +- .../ignite/internal/replicator/ReplicaManager.java | 56 +++- .../exception/PrimaryReplicaMissException.java | 48 +-- .../cluster/ItClusterManagementControllerTest.java | 52 +--- .../ignite/internal/rest/cluster/RestTestBase.java | 4 + .../rest/cluster/ClusterManagementController.java | 53 +--- .../rest/cluster/ClusterManagementRestFactory.java | 12 +- .../ConfigurationValidatorFactory.java | 50 --- .../ItDistributedConfigurationPropertiesTest.java | 12 +- .../ItDistributedConfigurationStorageTest.java | 12 +- .../apache/ignite/internal/jdbc/ItJdbcTest.java | 2 +- .../internal/readonly/ItReadOnlyTxInPastTest.java | 86 ++++++ .../rebalance/ItRebalanceDistributedTest.java | 23 +- .../rebalance/ItRebalanceRecoveryTest.java | 3 + .../rest/ItInitializedClusterRestTest.java | 20 +- .../rest/ItNotInitializedClusterRestTest.java | 84 ++++-- .../rest/authentication/ItAuthenticationTest.java | 71 +++-- .../ignite/internal/rest/ssl/ItRestSslTest.java | 22 +- .../runner/app/ItIgniteNodeRestartTest.java | 30 +- .../ignite/internal/runner/app/TableTestUtils.java | 62 ---- .../ignite/internal/sql/api/ItSqlApiBaseTest.java | 98 +++--- .../internal/sql/engine/ItSecondaryIndexTest.java | 2 +- .../org/apache/ignite/internal/app/IgniteImpl.java | 46 ++- .../internal/configuration/CompoundModule.java | 6 + .../java/org/apache/ignite/internal/Cluster.java | 10 + .../LowWatermarkConfigurationSchema.java | 4 +- modules/security-api/build.gradle | 1 + modules/security/build.gradle | 1 + .../SecurityConfigurationModule.java | 21 ++ .../SecurityConfigurationModuleTest.java | 80 ++++- .../internal/sql/engine/QueryPrefetchCallback.java | 46 +++ .../internal/sql/engine/SqlQueryProcessor.java | 1 - .../sql/engine/exec/ExecutionServiceImpl.java | 24 +- .../internal/sql/engine/exec/RowConverter.java | 35 +-- .../sql/engine/exec/ScannableTableImpl.java | 10 +- .../internal/sql/engine/exec/SqlRowHandler.java | 3 - .../sql/engine/exec/exp/ExpressionFactoryImpl.java | 135 +++++---- .../sql/engine/exec/exp/RangeCondition.java | 4 +- .../sql/engine/exec/rel/AsyncRootNode.java | 28 +- .../sql/engine/prepare/bounds/RangeBounds.java | 2 +- .../engine/prepare/ddl/AlterTableDropCommand.java | 3 +- .../internal/sql/engine/util/BaseQueryContext.java | 20 +- .../internal/sql/engine/util/IgniteResource.java | 2 +- .../sql/engine/exec/ExecutionServiceImplTest.java | 123 +++++++- .../engine/exec/exp/ExpressionFactoryImplTest.java | 67 +++++ .../engine/exec/rel/ScannableTableSelfTest.java | 24 +- .../exec/rel/SortedIndexSpoolExecutionTest.java | 70 +---- .../sql/engine/planner/DmlPlannerTest.java | 30 ++ .../internal/sql/engine/util/SqlTestUtils.java | 10 +- ...xDistributedTestSingleNodeNoCleanupMessage.java | 17 -- .../table/distributed/index/IndexBuildTask.java | 15 +- .../table/distributed/index/IndexBuilder.java | 8 +- .../request/BuildIndexReplicaRequest.java | 3 + .../replicator/PartitionReplicaListener.java | 334 ++++++++++++++++----- .../table/distributed/index/IndexBuilderTest.java | 5 +- .../OutgoingSnapshotTxDataStreamingTest.java | 5 +- .../PartitionReplicaListenerDurableUnlockTest.java | 232 ++++++++++++++ .../replication/PartitionReplicaListenerTest.java | 3 +- .../org/apache/ignite/internal/tx/TxManager.java | 9 + .../java/org/apache/ignite/internal/tx/TxMeta.java | 45 ++- .../ignite/internal/tx/impl/TxManagerImpl.java | 55 +++- .../apache/ignite/internal/tx/TxManagerTest.java | 21 +- .../storage/state/AbstractTxStateStorageTest.java | 16 +- packaging/odbc/build.gradle | 27 +- 114 files changed, 2935 insertions(+), 1004 deletions(-) create mode 100644 modules/arch-test/src/test/java/org/apache/ignite/internal/ConfigurationModuleArchTest.java copy modules/configuration-api/src/main/java/org/apache/ignite/configuration/{ConfigurationChangeException.java => ConfigurationDynamicDefaultsPatcher.java} (64%) rename modules/{configuration/src/main/java/org/apache/ignite/internal => configuration-api/src/main/java/org/apache/ignite}/configuration/SuperRootChange.java (96%) create mode 100644 modules/configuration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationConverter.java create mode 100644 modules/configuration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationDynamicDefaultsPatcherImpl.java create mode 100644 modules/configuration/src/main/java/org/apache/ignite/internal/configuration/SuperRootChangeImpl.java create mode 100644 modules/configuration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationDynamicDefaultsPatcherImplTest.java copy modules/{metrics/src/main/java/org/apache/ignite/internal/metrics/configuration/MetricConfigurationModule.java => configuration/src/test/java/org/apache/ignite/internal/configuration/TestConfigurationModule.java} (69%) copy modules/{configuration-presentation/src/test/java/org/apache/ignite/internal/configuration/presentation => configuration/src/test/java/org/apache/ignite/internal/configuration}/TestConfigurationSchema.java (79%) copy modules/{rest/src/test/java/org/apache/ignite/internal/rest => configuration/src/test/java/org/apache/ignite/internal}/configuration/TestSubConfigurationSchema.java (79%) copy modules/{api/src/main/java/org/apache/ignite/compute/JobExecutionContext.java => core/src/main/java/org/apache/ignite/internal/Hacks.java} (65%) create mode 100644 modules/core/src/testFixtures/java/org/apache/ignite/internal/testframework/matchers/HttpResponseMatcher.java create mode 100644 modules/placement-driver/src/test/java/org/apache/ignite/internal/placementdriver/LeaseTrackerTest.java create mode 100644 modules/placement-driver/src/test/java/org/apache/ignite/internal/placementdriver/LeaseUpdaterTest.java delete mode 100644 modules/rest/src/main/java/org/apache/ignite/internal/rest/configuration/ConfigurationValidatorFactory.java create mode 100644 modules/runner/src/integrationTest/java/org/apache/ignite/internal/readonly/ItReadOnlyTxInPastTest.java delete mode 100644 modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/TableTestUtils.java create mode 100644 modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/QueryPrefetchCallback.java create mode 100644 modules/table/src/test/java/org/apache/ignite/internal/table/distributed/replication/PartitionReplicaListenerDurableUnlockTest.java