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

Restore xpack.ilm.enabled and xpack.slm.enabled settings #57383

Merged

Conversation

williamrandolph
Copy link
Contributor

In #55592 and #55416, we deprecated the settings for enabling and disabling basic license features and turned those settings into no-ops. Since doing so, we've had feedback that this change may not give users enough time to cleanly switch from non-ILM index management tools to ILM. If two index managers operate simultaneously, results could be strange and difficult to reconstruct. We don't know of any cases where SLM will cause a problem, but we are restoring that setting as well, to be on the safe side.

This PR is not a strict commit reversion. First, we are keeping the new xpack.watcher.use_ilm_index_management setting, introduced when xpack.ilm.enabled was made a no-op, so that users can begin migrating to using it. Second, the SLM setting was modified in the same commit as a group of other settings, so I have taken just the changes relating to SLM.

Meta issue: #54745

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Plugins)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label May 29, 2020
@williamrandolph
Copy link
Contributor Author

@elasticmachine update branch

@williamrandolph
Copy link
Contributor Author

@elasticmachine update branch

@williamrandolph
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/bwc

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@williamrandolph williamrandolph merged commit 7a67fb2 into elastic:7.x Jun 4, 2020
williamrandolph added a commit to williamrandolph/elasticsearch that referenced this pull request Jun 4, 2020
In elastic#55592 and elastic#55416, we deprecated the settings for enabling and disabling
basic license features and turned those settings into no-ops. Since doing so,
we've had feedback that this change may not give users enough time to cleanly
switch from non-ILM index management tools to ILM. If two index managers
operate simultaneously, results could be strange and difficult to
reconstruct. We don't know of any cases where SLM will cause a problem, but we
are restoring that setting as well, to be on the safe side.

This PR is not a strict commit reversion. First, we are keeping the new
xpack.watcher.use_ilm_index_management setting, introduced when
xpack.ilm.enabled was made a no-op, so that users can begin migrating to using
it. Second, the SLM setting was modified in the same commit as a group of other
settings, so I have taken just the changes relating to SLM.
@williamrandolph
Copy link
Contributor Author

Note: this is still under active discussion and may need to be reverted.

@williamrandolph
Copy link
Contributor Author

This should not have been merged; I am going to revert.

williamrandolph added a commit that referenced this pull request Jun 4, 2020
@williamrandolph
Copy link
Contributor Author

Reversion commit: dfb6def

@williamrandolph williamrandolph deleted the restore-ilm-slm-settings branch May 23, 2022 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker :Core/Infra/Plugins Plugin API and infrastructure >deprecation Team:Core/Infra Meta label for core/infra team v7.8.0 v7.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants