Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions server/src/main/java/org/opensearch/node/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@ protected Node(final Environment initialEnvironment, Collection<PluginInfo> clas
);
}

// Ensure feature flags from opensearch.yml are valid during plugin initialization.
// Bug fix: https://github.com/opensearch-project/OpenSearch/issues/18417
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick, but the commit message/PR description is the right place for this type of context. Unless it's a TODO or some other exception case we don't need to be adding issue links for code modifications.

FeatureFlags.initializeFeatureFlags(tmpSettings);

this.pluginsService = new PluginsService(
tmpSettings,
initialEnvironment.configDir(),
Expand Down
Loading