Skip to content
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

Merged
merged 9 commits into from
May 16, 2023

Conversation

ivgag
Copy link
Contributor

@ivgag ivgag commented May 10, 2023

@ivgag
Copy link
Contributor Author

ivgag commented May 10, 2023

@PakhomovAlexander
Copy link
Contributor

Looks ok to me. I would appreciate it if @ibessonov takes a look.

@@ -137,10 +139,18 @@ void missingPolymorphicExtension() {

@Test
void testComplicatedPolymorphicConfig() throws Exception {

Map<String, Serializable> bootstrapConfig = Map.of(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this for?

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants