Skip to content

Commit

Permalink
Also enable LogsdbIndexModeSettingsProvider in case of stateless. (el…
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg authored Sep 26, 2024
1 parent 80cc765 commit 861aca0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Collection<?> createComponents(PluginServices services) {
@Override
public Collection<IndexSettingProvider> getAdditionalIndexSettingProviders(IndexSettingProvider.Parameters parameters) {
if (DiscoveryNode.isStateless(settings)) {
return List.of();
return List.of(logsdbIndexModeSettingsProvider);
}
return List.of(new SyntheticSourceIndexSettingsProvider(licenseService), logsdbIndexModeSettingsProvider);
}
Expand Down

0 comments on commit 861aca0

Please sign in to comment.