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

[8.x] Introduce an IndexSettingsProvider to inject logsdb index mode (#113505) #113594

Merged

Conversation

salvatore-campagna
Copy link
Contributor

Backports the following commits to 8.x:

…stic#113505)

Here we introduce a new implementation of `IndexSettingProvider` whose goal is to "inject" the
`index.mode` setting with value `logsdb` when a cluster setting `cluster.logsdb.enabled` is `true`.
We also make sure that:
* the existing `index.mode` is not set
* the datastream name matches the `logs-*-*` pattern
* `logs@settings` component template is used
@salvatore-campagna salvatore-campagna added :StorageEngine/Logs You know, for Logs >non-issue auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:StorageEngine labels Sep 26, 2024
@elasticsearchmachine elasticsearchmachine merged commit 09313b0 into elastic:8.x Sep 26, 2024
15 checks passed
@salvatore-campagna salvatore-campagna deleted the backport/8.x/pr-113505 branch September 26, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue :StorageEngine/Logs You know, for Logs Team:StorageEngine v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants