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

Use non-ILM template setting up watch history template & ILM disabled #39420

Merged
merged 1 commit into from
Feb 27, 2019

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Feb 26, 2019

Backport of #39325

When ILM is disabled and Watcher is setting up the templates and policies for
the watch history indices, it will now use a template that does not have the
index.lifecycle.name setting, so that indices are not created with the
setting.

This also adds tests for the behavior, and changes the cluster state used in
these tests to be real instead of mocked.

Resolves #38805

…elastic#39325)

When ILM is disabled and Watcher is setting up the templates and policies for
the watch history indices, it will now use a template that does not have the
`index.lifecycle.name` setting, so that indices are not created with the
setting.

This also adds tests for the behavior, and changes the cluster state used in
these tests to be real instead of mocked.

Resolves elastic#38805
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@dakrone dakrone merged commit ad8228a into elastic:7.x Feb 27, 2019
@dakrone dakrone deleted the bp-39325-7.x branch February 27, 2019 18:11
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