-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[+DOC][ILM] Shrink recovers to specific node #103664
Conversation
👋 howdy, team! As note per [this code](https://github.com/elastic/elasticsearch/blob/5d8e297340580259af913594d88ab4ededf273f5/server/src/main/java/org/elasticsearch/cluster/metadata/MetadataCreateIndexService.java#L1537-L1544) to backing [code](https://github.com/elastic/elasticsearch/blob/main/server/src/main/java/org/elasticsearch/cluster/metadata/IndexMetadata.java#L1224) that when the [Shrink API](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-shrink-index.html#how-shrink-works) is processing it adds a node ID into the Index Settings `.routing.allocation.initial_recovery._id` (which can also then be used as a search to find current indices shrinking). TIA!
Documentation preview: |
@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) |
Pinging @elastic/es-data-management (Team:Data Management) |
Bump @elastic/es-data-management @elastic/es-docs 🙏🏽 |
Hey @stefnestor this PR is targeting the |
Closing in favor of #105872 |
👋 howdy, team!
As note per this code to backing code that when the Shrink API is processing it adds a node ID into the Index Settings
.routing.allocation.initial_recovery._id
(which can also then be used as a search to find current indices shrinking).TIA!