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

Remove default pipelines from failure store indices #108742

Merged
merged 3 commits into from
May 21, 2024

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented May 16, 2024

Failure store indices inherit index settings from its parent data stream's template. When creating the failure store we should override the settings so that the data stream's default pipeline settings are not set on the failure store indices.

@jbaiera jbaiera requested a review from nielsbauman May 16, 2024 20:40
@elasticsearchmachine elasticsearchmachine added the Team:Data Management Meta label for data/management team label May 16, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

Copy link
Contributor

@nielsbauman nielsbauman left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -410,7 +410,7 @@ private static ClusterState createBackingIndex(
public static ClusterState createFailureStoreIndex(
MetadataCreateIndexService metadataCreateIndexService,
String cause,
Settings settings,
Settings nodeSettings,
Copy link
Contributor

Choose a reason for hiding this comment

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

I've regretted not naming this nodeSettings ever since I added this, so I had this on my TODO for when I happened to touch it. Thanks for changing this :)

@jbaiera
Copy link
Member Author

jbaiera commented May 20, 2024

@elasticmachine update branch

@jbaiera jbaiera merged commit 4889a44 into elastic:main May 21, 2024
15 checks passed
@jbaiera jbaiera deleted the failure-store-settings-filter branch May 21, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles >non-issue Team:Data Management Meta label for data/management team v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants