-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IGNITE-19315 Validate node configuration on node start #2058
Conversation
...nfiguration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationChanger.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
Looks ok to me. I would appreciate it if @ibessonov takes a look. |
...nfiguration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationChanger.java
Outdated
Show resolved
Hide resolved
...uration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationChangerTest.java
Show resolved
Hide resolved
...ration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationRegistryTest.java
Outdated
Show resolved
Hide resolved
...ration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationRegistryTest.java
Outdated
Show resolved
Hide resolved
.../runner/src/main/java/org/apache/ignite/internal/configuration/NodeConfigParseException.java
Show resolved
Hide resolved
.../runner/src/main/java/org/apache/ignite/internal/configuration/NodeConfigParseException.java
Show resolved
Hide resolved
...nfiguration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationChanger.java
Outdated
Show resolved
Hide resolved
...nfiguration/src/main/java/org/apache/ignite/internal/configuration/ConfigurationChanger.java
Outdated
Show resolved
Hide resolved
...ration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationRegistryTest.java
Outdated
Show resolved
Hide resolved
.../runner/src/main/java/org/apache/ignite/internal/configuration/NodeConfigParseException.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
...tegrationTest/java/org/apache/ignite/internal/configuration/ItNodeConfigurationFileTest.java
Outdated
Show resolved
Hide resolved
...uration/src/test/java/org/apache/ignite/internal/configuration/ConfigurationChangerTest.java
Show resolved
Hide resolved
@@ -137,10 +139,18 @@ void missingPolymorphicExtension() { | |||
|
|||
@Test | |||
void testComplicatedPolymorphicConfig() throws Exception { | |||
|
|||
Map<String, Serializable> bootstrapConfig = Map.of( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Configuration validation happens on org.apache.ignite.internal.configuration.ConfigurationChanger#start. Nulls are not allowed in the configuration, so we have to initialize null fields
https://issues.apache.org/jira/browse/IGNITE-19315