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

Implement ILM policy for .ml-state* indices #52356

Merged
merged 11 commits into from
Mar 10, 2020

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Feb 14, 2020

This PR adds ILM policy for .ml-state* indices.
In case ILM plugin is not available at the time the template is being created, the ILM policy is not created.
In case only the legacy .ml-state index exists, the .ml-state-000001 index is created and the write alias (.ml-state-write) is moved from .ml-state to .ml-state-000001 so that rollover can be performed by ILM.

Relates #29938

@przemekwitek przemekwitek force-pushed the ilm_for_ml_state branch 4 times, most recently from d765bc7 to 121932b Compare February 17, 2020 12:49
@przemekwitek przemekwitek added :ml Machine learning >feature v7.7.0 v8.0.0 and removed WIP labels Feb 17, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@przemekwitek przemekwitek marked this pull request as ready for review February 17, 2020 12:51
@przemekwitek przemekwitek force-pushed the ilm_for_ml_state branch 3 times, most recently from f5f1bf0 to 2656237 Compare February 19, 2020 11:39
@przemekwitek przemekwitek force-pushed the ilm_for_ml_state branch 4 times, most recently from 2f81554 to f6d27ff Compare February 21, 2020 14:05
@przemekwitek przemekwitek removed the WIP label Feb 21, 2020
@przemekwitek przemekwitek force-pushed the ilm_for_ml_state branch 2 times, most recently from 574447e to fdd0b04 Compare March 3, 2020 12:39
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/2

1 similar comment
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/2

@przemekwitek przemekwitek force-pushed the ilm_for_ml_state branch 3 times, most recently from a4b35c4 to 95ab96e Compare March 4, 2020 09:13
@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/2

@przemekwitek
Copy link
Contributor Author

As the CI now passes this PR is ready for another look.

Copy link
Contributor

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

5 participants