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

[DOCS] disable the ILM history store on full cluster restore #88515

Merged
merged 3 commits into from
Nov 23, 2022

Conversation

andreidan
Copy link
Contributor

When restoring a full cluster there might be issues with the snapshot containing the
ilm-history data stream and, even though deleted from the elasticsearch cluster and ILM stopped, the history
data stream reappearing due to late processing of ILM history events.

This documents disabling the history index so that the data stream is not recreated and restoring
the snapshot doesn't fail due to the data stream already being present in the cluster.

@andreidan andreidan added >docs General docs changes v8.4.0 v8.3.3 labels Jul 13, 2022
@andreidan andreidan requested a review from dakrone July 13, 2022 16:49
@elasticmachine elasticmachine added the Team:Docs Meta label for docs team label Jul 13, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-docs (Team:Docs)

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

looks good, but on line 435 we need to add it to the list of settings to re-enable after the restore has completed

@andreidan andreidan requested a review from dakrone July 14, 2022 09:09
@andreidan
Copy link
Contributor Author

andreidan commented Jul 14, 2022

looks good, but on line 435 we need to add it to the list of settings to re-enable after the restore has completed

Crikey! Good spot. I missed that even though I ctrl-f-ed for "start ILM" 😭

Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@andreidan
Copy link
Contributor Author

@elasticmachine update branch

@andreidan andreidan merged commit 261f184 into elastic:main Nov 23, 2022
@elasticsearchmachine
Copy link
Collaborator

💔 Backport failed

The backport operation could not be completed due to the following error:

There are no branches to backport to. Aborting.

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 88515

@andreidan andreidan added v8.6.1 auto-backport-and-merge auto-backport Automatically create backport pull requests when merged and removed auto-backport-and-merge labels Nov 23, 2022
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Nov 24, 2022
andreidan added a commit that referenced this pull request Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged backport pending >docs General docs changes Team:Docs Meta label for docs team v8.6.1 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants