Skip to content

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

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

Merged
merged 5 commits into from
Mar 27, 2020

Conversation

gwbrown
Copy link
Contributor

@gwbrown gwbrown commented Mar 26, 2020

Backports the following commits to 6.8:

gwbrown added 4 commits March 26, 2020 10:10
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.
@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 26, 2020

@elasticmachine test this please

@gwbrown gwbrown added the v6.8.9 label Mar 27, 2020
@gwbrown
Copy link
Contributor Author

gwbrown commented Mar 27, 2020

@elasticmachine test this please

@gwbrown gwbrown 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