-
Notifications
You must be signed in to change notification settings - Fork 25.3k
(Doc) ILM Force Merge not on HDD and happens on hosting node not current phase tier #130280
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
base: main
Are you sure you want to change the base?
Conversation
👋 howdy, team! A handful of changes
🔍 Preview links for changed docs: 🔔 The preview site may take up to 3 minutes to finish building. These links will become live once it completes. |
@stefnestor please enable the option "Allow edits and access to secrets by maintainers" on your PR. For more information, see the documentation. |
Pinging @elastic/es-docs (Team:Docs) |
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
Looks good @stefnestor! I've added a few comments and have tagged the Data Management team about your questions in the PR description. |
Co-authored-by: David Kilfoyle <[email protected]>
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
…merge.md fix link
Co-authored-by: David Kilfoyle <[email protected]>
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
Co-authored-by: David Kilfoyle <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
Thanks Stef!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @stefnestor, thanks for working on this! I left a few first relatively minor comments.
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
:::: | ||
|
||
Force merging will be performed by the node hosting the shard. The [node's role](docs-content://deploy-manage/distributed-architecture/clusters-nodes-shards/node-roles.md#set-node-roles) frequently matches the [data tier](docs-content://manage-data/lifecycle/data-tiers.md) of the {{ilm-init}}'s phase of the index, you may choose to adjust this behavior. For example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The node's role frequently matches the data tier of the ILM's phase of the index, you may choose to adjust this behavior.
I'm having trouble understanding this sentence, but maybe it's just me. Could you explain what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah @kilfoyle and I tried to has this out but I'm not sure I got it across the line, sorry.
The needed fix from current doc: force merges do not happen on the ilm phase's node tier. They happen on the node hosting the shard, this specifically is different when you use searchable snapshots (e.g. hot>frozen merges on hot inside phase/action/step: frozen/searchable_snapshot/forcemerge
).
I've debated just removing you may choose to adjust this behavior
. David & I discussed it as relating to disabling ILM Migrate (and using node attribute allocation filters).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for the explanation, that helps a lot! How about something like this:
Force merging will be performed by the node hosting the shard. The [node's role](docs-content://deploy-manage/distributed-architecture/clusters-nodes-shards/node-roles.md#set-node-roles) frequently matches the [data tier](docs-content://manage-data/lifecycle/data-tiers.md) of the {{ilm-init}}'s phase of the index, you may choose to adjust this behavior. For example: | |
Force merging will be performed by the node hosting the shard. Usually, the [node's role](docs-content://deploy-manage/distributed-architecture/clusters-nodes-shards/node-roles.md#set-node-roles) matches the [data tier](docs-content://manage-data/lifecycle/data-tiers.md) of the {{ilm-init}} phase that the index is in. One of the exceptions is when you have manually disabled [ILM Migrate](https://www.elastic.co/docs/reference/elasticsearch/index-lifecycle-actions/ilm-migrate) and have specified custom allocations using [ILM allocate](https://www.elastic.co/docs/reference/elasticsearch/index-lifecycle-actions/ilm-allocate). The other exception is searchable snapshots; force merges for [{{ilm-init}} Searchable Snapshots](./ilm-searchable-snapshot.md) using `force_merge_index` are performed in the phase that the index is in **prior** to the `searchable_snapshot` action. You may want to explicitly choose in which data tier the force merge should occur, for example: |
in combination with your suggestion in the other thread below.
Optionally, we could link to the force_merge_index
option on https://www.elastic.co/docs/reference/elasticsearch/index-lifecycle-actions/ilm-searchable-snapshot#ilm-searchable-snapshot-options, for more details on force merging for searchable snapshots.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I forgot to mention that we should fix those links that I added. Do you happen to know what the correct links are? I'm not familiar with the new docs system yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
David usually fixes them for me as I'm also getting up to speed on the new system 🙏
docs/reference/elasticsearch/index-lifecycle-actions/ilm-forcemerge.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Niels Bauman <[email protected]>
🔍 Preview links for changed docs |
Co-authored-by: Niels Bauman <[email protected]>
@kilfoyle could you have one final look as well, please? 🙏 |
👋 howdy, team!
A handful of changes for the top of the ILM Force Merge doc, please have Dev confirm 🙏
I'm not tied to formatting at all. And kindly fix links as I'm catching up to the new system. However it needs said, kindly help ensure (1) and (2) correct but feel free to revert (3) as desired 🙏 .