mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-29 01:44:36 -04:00
This enhances the migrate to data tiers routing API to also iterate over
the existing legacy, composable, and component templates and look if
they define a custom node attribute routing in their settings for either
`index.routing.allocation.require.{nodeAttrName}` or
`index.routing.allocation.include.{nodeAttrName}`. If any does, we
update them to remove all the routings settings for the provided
`nodeAttrName`.
eg. any template with the following setting configuration:
```
"settings": {
index.routing.allocation.require.data: "warm",
index.routing.allocation.include.data: "rack1",
index.routing.allocation.exclude.data: "rack2,rack3"
}
```
will have its settings updated to:
```
"settings": {}
```
(cherry picked from commit
|
||
---|---|---|
.. | ||
delete-lifecycle.asciidoc | ||
explain.asciidoc | ||
get-lifecycle.asciidoc | ||
get-status.asciidoc | ||
ilm-api.asciidoc | ||
migrate-to-data-tiers.asciidoc | ||
move-to-step.asciidoc | ||
put-lifecycle.asciidoc | ||
remove-policy-from-index.asciidoc | ||
retry-policy.asciidoc | ||
start.asciidoc | ||
stop.asciidoc |