This is an automated email from the ASF dual-hosted git repository. amashenkov pushed a change to branch ignite-14557 in repository https://gitbox.apache.org/repos/asf/ignite-3.git.
from 891ba54 Styles. add 9d852ee IGNITE-14372 Fixed configuration update procedure in REST module. (#81) add 3565c9d IGNITE-14411 Defined minimal set of cluster components and their lifecycle. Fixes #96 add 73befa6 IGNITE-14558 Add information about javadoc validation and generation commands to DEVNOTES.md (#97) add 40115d8 IGNITE-14574 Fixed file URI scheme. Fixes #99 add a45db90 IGNITE-13840 INIT classes removed from configuration framework. (#101) add e50ef2d IGNITE-14561 Fix of javadoc warnings in configuration modules. (#104) add 1d7a632 IGNITE-14650 Remove Apache Ignite binary from maven artifacts (#108) add bdbb038 IGNITE-14630 Fix excess versions declaration in POMs (#107) add 0de7681 IGNITE-14235 Basic table management - Fixes #103. add f919b86 IGNITE-14656 Modules in root pom.xml must be lexicographically sorted (#110) add 9af1037 IGNITE-14407 introduced in-memory vault implementation. Fixes #105 add 38e7683 IGNITE-14446 Added support of watch and put/get/scan operations to MetaStorageManager. Fixes #111 add 4d5b16e IGNITE-14672 Added SQL related schemas for configuration. Fixes #117 add 26051c4 IGNITE-14238 Creating and destroying tables. Fixes #112 add eccad97 IGNITE-14670 Updated metastorage service API: range with applied revision, invoke for multiple updates. Fixes #113 add 592deed IGNITE-14657 README.md for ignite-configuration module. (#109) add 06dc443 Merge branch 'main' into ignite-14557 add 0672099 Styles. No new revisions were added by this update. Summary of changes: DEVNOTES.md | 37 +- modules/{table => affinity}/pom.xml | 28 +- .../ignite/internal/affinity/AffinityManager.java | 203 ++++++++++ .../affinity/RendezvousAffinityFunction.java | 410 +++++++++++++++++++ .../affinity/RendezvousAffinityFunctionTest.java | 206 ++++++++++ modules/api/pom.xml | 6 + .../{schema/PartialIndex.java => app/Ignite.java} | 19 +- .../PartialIndex.java => app/Ignition.java} | 23 +- .../org/apache/ignite/app/IgnitionManager.java | 62 +++ .../network/NetworkConfigurationSchema.java} | 19 +- .../schemas/rest}/RestConfigurationSchema.java | 11 +- .../runner/ClusterConfigurationSchema.java} | 16 +- .../schemas/runner/NodeConfigurationSchema.java} | 25 +- .../schemas/table/ColumnConfigurationSchema.java} | 31 +- .../table/ColumnTypeConfigurationSchema.java} | 26 +- .../table/IndexColumnConfigurationSchema.java} | 18 +- .../schemas/table/TableConfigurationSchema.java} | 34 +- .../table/TableIndexConfigurationSchema.java} | 41 +- .../schemas/table/TablesConfigurationSchema.java} | 21 +- .../apache/ignite/table/manager/IgniteTables.java | 63 +++ modules/{api => baseline}/pom.xml | 16 +- .../ignite/internal/baseline/BaselineManager.java | 69 ++++ modules/bytecode/pom.xml | 1 + modules/cli-common/pom.xml | 27 +- modules/cli/pom.xml | 41 +- .../cli/builtins/module/MavenArtifactResolver.java | 4 +- modules/configuration-annotation-processor/pom.xml | 11 +- .../processor/internal/AbstractProcessorTest.java | 4 +- .../processor/internal/ConfigSet.java | 8 +- .../processor/internal/ITProcessorTest.java | 6 +- .../internal/ConfigurationDescription.java | 16 +- .../processor/internal/ConfigurationElement.java | 35 +- .../processor/internal/Processor.java | 106 +---- .../processor/internal/ProcessorException.java | 2 - .../configuration/processor/internal/Utils.java | 24 +- .../configuration/ConfigurationChangerTest.java | 36 +- .../internal/util/ConfigurationUtilTest.java | 20 +- .../notifications/ConfigurationListenerTest.java | 16 +- .../sample/ConfigurationArrayTest.java | 2 +- .../sample/ConstructableTreeNodeTest.java | 6 +- .../sample/NodeConfigurationSchema.java | 6 +- .../sample/TraversableTreeNodeTest.java | 47 +-- .../ignite/configuration/sample/UsageTest.java | 23 +- modules/configuration/README.md | 163 ++++++++ modules/configuration/pom.xml | 14 +- .../ignite/configuration/ConfigurationChanger.java | 92 ++++- .../configuration/ConfigurationRegistry.java | 73 +++- .../ignite/configuration/ConfigurationTree.java | 12 +- .../configuration/NamedConfigurationTree.java | 4 +- .../org/apache/ignite/configuration/RootKey.java | 17 +- .../ignite/configuration/annotation/Config.java | 5 +- .../annotation/ConfigurationRoot.java | 4 +- .../ignite/configuration/annotation/Value.java | 10 +- .../internal/ConfigurationManager.java | 94 +++++ .../internal/DynamicConfiguration.java | 5 +- .../internal/NamedListConfiguration.java | 9 +- .../ignite/configuration/internal/RootKeyImpl.java | 8 +- .../ignite/configuration/internal/SuperRoot.java | 39 +- .../internal/rest}/JsonConverter.java | 229 +++++++---- .../internal/util/AnyNodeConfigurationVisitor.java | 1 + .../util/ConfigurationNotificationsUtil.java | 8 +- .../internal/util/ConfigurationUtil.java | 2 + .../util/KeysTrackingConfigurationVisitor.java | 26 +- .../{MaxValidator.java => ImmutableValidator.java} | 18 +- .../internal/validation/MemberKey.java | 6 +- .../internal/validation/ValidationContextImpl.java | 8 +- .../ConfigurationNotificationEvent.java | 8 +- .../storage/ConfigurationStorage.java | 1 + .../apache/ignite/configuration/storage/Data.java | 4 +- .../configuration/storage/StorageException.java | 3 - .../configuration/tree/ConfigurationVisitor.java | 4 + .../ignite/configuration/tree/InnerNode.java | 5 +- .../ignite/configuration/tree/NamedListChange.java | 22 +- .../ignite/configuration/tree/NamedListInit.java | 32 -- .../ignite/configuration/tree/NamedListNode.java | 10 +- .../configuration/tree/TraversableTreeNode.java | 2 + .../ConfigurationValidationException.java | 5 +- .../ConfigValue.java => validation/Immutable.java} | 21 +- .../configuration/validation/ValidationIssue.java | 8 +- .../ignite/configuration/validation/Validator.java | 2 - modules/core/pom.xml | 4 +- .../org/apache/ignite/internal/manager/Event.java} | 11 +- .../ignite/internal/manager/EventParameters.java} | 12 +- .../apache/ignite/internal/manager/Producer.java | 69 ++++ .../internal/tostring/IgniteToStringBuilder.java | 1 - .../ignite/internal/tostring/package-info.java | 21 - .../org/apache/ignite/internal/util/ByteUtils.java | 134 ++++++ .../java/org/apache/ignite/lang/ByteArray.java | 106 +++++ .../java/org/apache/ignite/lang/IgniteBiTuple.java | 316 +++++++++++++++ .../internal/testframework/package-info.java | 21 - modules/metastorage-client/pom.xml | 31 +- .../metastorage/client/MetaStorageService.java | 11 +- modules/metastorage-common/pom.xml | 34 +- .../ignite/metastorage/common/Condition.java | 46 ++- .../ignite/metastorage/common/Conditions.java | 31 +- .../ignite/metastorage/common/Operation.java | 17 +- .../ignite/metastorage/common/Operations.java | 8 +- modules/{schema => metastorage}/pom.xml | 39 +- .../internal/metastorage/MetaStorageManager.java | 451 +++++++++++++++++++++ .../metastorage/watch/AggregatedWatch.java | 69 ++++ .../internal/metastorage/watch/KeyCriterion.java | 162 ++++++++ .../metastorage/watch/WatchAggregator.java | 244 +++++++++++ .../internal/metastorage/WatchAggregatorTest.java | 131 ++++++ modules/network/pom.xml | 15 +- .../org/apache/ignite/network/ClusterNode.java | 10 + modules/raft-client/pom.xml | 23 +- .../client/service/impl/RaftGroupServiceImpl.java | 4 +- .../raft/client/service/RaftGroupServiceTest.java | 4 +- modules/raft/pom.xml | 12 +- .../raft/server/ITRaftCounterServerTest.java | 52 ++- .../java/org/apache/ignite/internal/raft/Loza.java | 105 +++++ .../ignite/raft/server/impl/RaftServerImpl.java | 41 +- modules/rest/pom.xml | 39 +- .../java/org/apache/ignite/rest/ErrorResult.java | 5 +- .../java/org/apache/ignite/rest/RestModule.java | 28 +- .../presentation/ConfigurationPresentation.java | 6 - .../ignite/rest/presentation/FormatConverter.java | 38 -- .../rest/presentation/json/JsonConverter.java | 227 +++++++---- .../rest/presentation/json/JsonPresentation.java | 48 +-- .../java/org/apache/ignite/rest/routes/Router.java | 1 + .../rest/presentation/json/JsonConverterTest.java | 246 +++++++++-- modules/runner/pom.xml | 76 ++-- .../ignite/internal/runner/app/IgnitionTest.java | 93 +++++ .../java/org/apache/ignite/app/IgniteRunner.java | 113 +----- .../ignite/configuration/ConfigurationModule.java | 68 ---- .../extended/BaselineConfigurationSchema.java | 30 -- .../apache/ignite/internal/app/IgniteImpl.java} | 29 +- .../apache/ignite/internal/app/IgnitionImpl.java | 306 ++++++++++++++ .../storage/DistributedConfigurationStorage.java} | 23 +- .../storage/LocalConfigurationStorage.java} | 21 +- .../org/apache/ignite/utils/IgniteProperties.java | 1 + .../services/org.apache.ignite.app.Ignition | 1 + modules/schema/pom.xml | 4 +- .../ignite/internal/schema/ByteBufferRow.java | 8 +- .../org/apache/ignite/internal/schema/Row.java | 2 +- .../ignite/internal/schema/SchemaManager.java | 76 ++++ .../marshaller/asm/AsmSerializerGenerator.java | 6 +- modules/table/pom.xml | 42 +- .../ignite/internal/table/AbstractTableView.java | 4 +- .../ignite/internal/table/InternalTable.java | 8 + .../ignite/internal/table/KVBinaryViewImpl.java | 2 +- .../apache/ignite/internal/table/KVViewImpl.java | 2 +- .../ignite/internal/table/RecordViewImpl.java | 2 +- .../apache/ignite/internal/table/TableImpl.java | 20 +- ...ableSchemaManager.java => TableSchemaView.java} | 2 +- .../internal/table/TableSchemaViewImpl.java} | 37 +- .../ignite/internal/table/TupleMarshallerImpl.java | 4 +- .../internal/table/distributed/TableManager.java | 367 +++++++++++++++++ .../table/distributed/command/DeleteCommand.java | 90 ++++ .../table/distributed/command/GetCommand.java | 89 ++++ .../table/distributed/command/InsertCommand.java | 89 ++++ .../table/distributed/command/ReplaceCommand.java | 114 ++++++ .../table/distributed/command/UpsertCommand.java | 89 ++++ .../command/response/KVGetResponse.java | 88 ++++ .../distributed/raft/PartitionCommandListener.java | 166 ++++++++ .../distributed/storage/InternalTableImpl.java | 151 +++++++ .../ignite/internal/table/event/TableEvent.java} | 12 +- .../internal/table/event/TableEventParameters.java | 95 +++++ .../table/distributed/DistributedTableTest.java | 349 ++++++++++++++++ .../ignite/table/impl/DummyInternalTableImpl.java | 6 + .../ignite/table/impl/DummySchemaManagerImpl.java | 4 +- modules/vault/README.md | 4 + modules/{configuration => vault}/pom.xml | 24 +- .../apache/ignite/internal/vault/VaultManager.java | 179 ++++++++ .../ignite/internal/vault}/common/Entry.java | 48 ++- .../internal/vault/common/VaultListener.java} | 13 +- .../ignite/internal/vault/common/VaultWatch.java | 85 ++++ .../ignite/internal/vault/common/Watcher.java} | 32 +- .../ignite/internal/vault/common/WatcherImpl.java | 151 +++++++ .../internal/vault/impl/VaultServiceImpl.java | 114 ++++++ .../internal/vault/service/VaultService.java | 90 ++++ .../vault/impl/VaultBaseContractsTest.java | 236 +++++++++++ parent/pom.xml | 131 +++++- pom.xml | 7 +- 174 files changed, 7985 insertions(+), 1490 deletions(-) copy modules/{table => affinity}/pom.xml (80%) create mode 100644 modules/affinity/src/main/java/org/apache/ignite/internal/affinity/AffinityManager.java create mode 100644 modules/affinity/src/main/java/org/apache/ignite/internal/affinity/RendezvousAffinityFunction.java create mode 100644 modules/affinity/src/test/java/org/apache/ignite/internal/affinity/RendezvousAffinityFunctionTest.java copy modules/api/src/main/java/org/apache/ignite/{schema/PartialIndex.java => app/Ignite.java} (76%) copy modules/api/src/main/java/org/apache/ignite/{schema/PartialIndex.java => app/Ignition.java} (61%) create mode 100644 modules/api/src/main/java/org/apache/ignite/app/IgnitionManager.java copy modules/{rest/src/main/java/org/apache/ignite/rest/configuration/RestConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/network/NetworkConfigurationSchema.java} (75%) copy modules/{rest/src/main/java/org/apache/ignite/rest/configuration => api/src/main/java/org/apache/ignite/configuration/schemas/rest}/RestConfigurationSchema.java (88%) copy modules/{configuration-annotation-processor/src/test/java/org/apache/ignite/configuration/sample/LocalConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/runner/ClusterConfigurationSchema.java} (68%) rename modules/{rest/src/main/java/org/apache/ignite/rest/configuration/RestConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/runner/NodeConfigurationSchema.java} (68%) copy modules/{configuration-annotation-processor/src/test/java/org/apache/ignite/configuration/sample/NodeConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/ColumnConfigurationSchema.java} (64%) rename modules/{runner/src/main/java/org/apache/ignite/configuration/extended/DataStorageConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/ColumnTypeConfigurationSchema.java} (70%) rename modules/{runner/src/main/java/org/apache/ignite/configuration/extended/AutoAdjustConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/IndexColumnConfigurationSchema.java} (75%) copy modules/{configuration-annotation-processor/src/test/java/org/apache/ignite/configuration/sample/AutoAdjustConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/TableConfigurationSchema.java} (58%) copy modules/{configuration-annotation-processor/src/test/java/org/apache/ignite/configuration/sample/AutoAdjustConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/TableIndexConfigurationSchema.java} (52%) rename modules/{runner/src/main/java/org/apache/ignite/configuration/extended/LocalConfigurationSchema.java => api/src/main/java/org/apache/ignite/configuration/schemas/table/TablesConfigurationSchema.java} (71%) create mode 100644 modules/api/src/main/java/org/apache/ignite/table/manager/IgniteTables.java copy modules/{api => baseline}/pom.xml (76%) create mode 100644 modules/baseline/src/main/java/org/apache/ignite/internal/baseline/BaselineManager.java create mode 100644 modules/configuration/README.md create mode 100644 modules/configuration/src/main/java/org/apache/ignite/configuration/internal/ConfigurationManager.java copy modules/{rest/src/main/java/org/apache/ignite/rest/presentation/json => configuration/src/main/java/org/apache/ignite/configuration/internal/rest}/JsonConverter.java (57%) copy modules/configuration/src/main/java/org/apache/ignite/configuration/internal/validation/{MaxValidator.java => ImmutableValidator.java} (66%) delete mode 100644 modules/configuration/src/main/java/org/apache/ignite/configuration/tree/NamedListInit.java copy modules/configuration/src/main/java/org/apache/ignite/configuration/{annotation/ConfigValue.java => validation/Immutable.java} (68%) copy modules/{api/src/main/java/org/apache/ignite/schema/IndexColumn.java => core/src/main/java/org/apache/ignite/internal/manager/Event.java} (80%) copy modules/{api/src/main/java/org/apache/ignite/schema/IndexColumn.java => core/src/main/java/org/apache/ignite/internal/manager/EventParameters.java} (80%) create mode 100644 modules/core/src/main/java/org/apache/ignite/internal/manager/Producer.java delete mode 100644 modules/core/src/main/java/org/apache/ignite/internal/tostring/package-info.java create mode 100644 modules/core/src/main/java/org/apache/ignite/internal/util/ByteUtils.java create mode 100644 modules/core/src/main/java/org/apache/ignite/lang/ByteArray.java create mode 100644 modules/core/src/main/java/org/apache/ignite/lang/IgniteBiTuple.java delete mode 100644 modules/core/src/test/java/org/apache/ignite/internal/testframework/package-info.java copy modules/{schema => metastorage}/pom.xml (73%) create mode 100644 modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/MetaStorageManager.java create mode 100644 modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/watch/AggregatedWatch.java create mode 100644 modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/watch/KeyCriterion.java create mode 100644 modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/watch/WatchAggregator.java create mode 100644 modules/metastorage/src/test/java/org/apache/ignite/internal/metastorage/WatchAggregatorTest.java create mode 100644 modules/raft/src/main/java/org/apache/ignite/internal/raft/Loza.java delete mode 100644 modules/rest/src/main/java/org/apache/ignite/rest/presentation/FormatConverter.java create mode 100644 modules/runner/src/integrationTest/java/org/apache/ignite/internal/runner/app/IgnitionTest.java delete mode 100644 modules/runner/src/main/java/org/apache/ignite/configuration/ConfigurationModule.java delete mode 100644 modules/runner/src/main/java/org/apache/ignite/configuration/extended/BaselineConfigurationSchema.java copy modules/{api/src/main/java/org/apache/ignite/schema/PartialIndex.java => runner/src/main/java/org/apache/ignite/internal/app/IgniteImpl.java} (59%) create mode 100644 modules/runner/src/main/java/org/apache/ignite/internal/app/IgnitionImpl.java copy modules/{rest/src/main/java/org/apache/ignite/rest/configuration/InMemoryConfigurationStorage.java => runner/src/main/java/org/apache/ignite/internal/storage/DistributedConfigurationStorage.java} (81%) rename modules/{rest/src/main/java/org/apache/ignite/rest/configuration/InMemoryConfigurationStorage.java => runner/src/main/java/org/apache/ignite/internal/storage/LocalConfigurationStorage.java} (84%) create mode 100644 modules/runner/src/main/resources/META-INF/services/org.apache.ignite.app.Ignition create mode 100644 modules/schema/src/main/java/org/apache/ignite/internal/schema/SchemaManager.java rename modules/table/src/main/java/org/apache/ignite/internal/table/{TableSchemaManager.java => TableSchemaView.java} (96%) copy modules/table/src/{test/java/org/apache/ignite/table/impl/DummySchemaManagerImpl.java => main/java/org/apache/ignite/internal/table/TableSchemaViewImpl.java} (61%) create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/DeleteCommand.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/GetCommand.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/InsertCommand.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/ReplaceCommand.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/UpsertCommand.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/command/response/KVGetResponse.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionCommandListener.java create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/distributed/storage/InternalTableImpl.java copy modules/{api/src/main/java/org/apache/ignite/table/InvokeProcessorException.java => table/src/main/java/org/apache/ignite/internal/table/event/TableEvent.java} (73%) create mode 100644 modules/table/src/main/java/org/apache/ignite/internal/table/event/TableEventParameters.java create mode 100644 modules/table/src/test/java/org/apache/ignite/table/distributed/DistributedTableTest.java create mode 100644 modules/vault/README.md copy modules/{configuration => vault}/pom.xml (81%) create mode 100644 modules/vault/src/main/java/org/apache/ignite/internal/vault/VaultManager.java copy modules/{metastorage-common/src/main/java/org/apache/ignite/metastorage => vault/src/main/java/org/apache/ignite/internal/vault}/common/Entry.java (51%) copy modules/{metastorage-common/src/main/java/org/apache/ignite/metastorage/common/WatchListener.java => vault/src/main/java/org/apache/ignite/internal/vault/common/VaultListener.java} (76%) create mode 100644 modules/vault/src/main/java/org/apache/ignite/internal/vault/common/VaultWatch.java copy modules/{configuration/src/main/java/org/apache/ignite/configuration/notifications/ConfigurationListener.java => vault/src/main/java/org/apache/ignite/internal/vault/common/Watcher.java} (59%) create mode 100644 modules/vault/src/main/java/org/apache/ignite/internal/vault/common/WatcherImpl.java create mode 100644 modules/vault/src/main/java/org/apache/ignite/internal/vault/impl/VaultServiceImpl.java create mode 100644 modules/vault/src/main/java/org/apache/ignite/internal/vault/service/VaultService.java create mode 100644 modules/vault/src/test/java/org/apache/ignite/internal/vault/impl/VaultBaseContractsTest.java