Skip to content

Conversation

@gmarouli
Copy link
Contributor

@gmarouli gmarouli commented May 3, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

…tic#127573)

We introduce a new global retention setting `data_streams.lifecycle.retention.failures_default` which is used by the data stream lifecycle management as the default retention when the failure store lifecycle of the data stream does not specify one.

Elasticsearch comes with the default value of 30 days. The value can be changed via the settings API to any time value higher than 10 seconds or -1 to indicate no default retention should apply.

The failures default retention can be set to values higher than the max retention, but then the max retention will be effective. The reason for this choice it to ensure that no deployments will be broken, if the user has already set up max retention less than 30 days.

(cherry picked from commit fe36c42)
@gmarouli gmarouli merged commit 700503a into elastic:8.19 May 3, 2025
15 checks passed
@gmarouli gmarouli deleted the backport/8.19/pr-127573 branch May 3, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants