Skip to content

[6.8] Disallow negative TimeValues (#53913)#54304

Merged
AthenaEryma merged 5 commits intoelastic:6.8from
AthenaEryma:backport/6.8/pr-53913
Mar 27, 2020
Merged

[6.8] Disallow negative TimeValues (#53913)#54304
AthenaEryma merged 5 commits intoelastic:6.8from
AthenaEryma:backport/6.8/pr-53913

Conversation

@AthenaEryma
Copy link
Copy Markdown
Contributor

Backports the following commits to 6.8:

This commit causes negative TimeValues, other than -1 which is sometimes used as
a sentinel value, to be rejected during parsing.

Also introduces a hack to allow ILM to load policies which were written to the
cluster state with a negative min_age, treating those values as 0, which should
match the behavior of prior versions.
@AthenaEryma
Copy link
Copy Markdown
Contributor Author

@elasticmachine test this please

@AthenaEryma
Copy link
Copy Markdown
Contributor Author

@elasticmachine test this please

@AthenaEryma AthenaEryma merged commit d5293ea into elastic:6.8 Mar 27, 2020
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.

1 participant