OpenSearch/x-pack/plugin
Lee Hinman 4a08928c47
[7.x] Add index.routing.allocation.include._tier_preference setting (#62589) (#62667)
This commit adds the `index.routing.allocation.prefer._tier` setting to the
`DataTierAllocationDecider`. This special-purpose allocation setting lets a user specify a
preference-based list of tiers for an index to be assigned to. For example, if the setting were set
to:

```
"index.routing.allocation.prefer._tier": "data_hot,data_warm,data_content"
```

If the cluster contains any nodes with the `data_hot` role, the decider will only allow them to be
allocated on the `data_hot` node(s). If there are no `data_hot` nodes, but there are `data_warm` and
`data_content` nodes, then the index will be allowed to be allocated on `data_warm` nodes.

This allows us to specify an index's preference for tier(s) without causing the index to be
unassigned if no nodes of a preferred tier are available.

Subsequent work will change the ILM migration to make additional use of this setting.

Relates to #60848
2020-09-18 15:41:36 -06:00
..
analytics Only call reduce on a single InternalAggregation when needed (#62525) (#62594) 2020-09-18 08:43:58 +02:00
async [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
async-search Increase keep alive of point in time in async search tests (#62593) 2020-09-18 08:01:57 -04:00
autoscaling [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
ccr [7.x] Add index.routing.allocation.include._tier_preference setting (#62589) (#62667) 2020-09-18 15:41:36 -06:00
core [7.x] Add index.routing.allocation.include._tier_preference setting (#62589) (#62667) 2020-09-18 15:41:36 -06:00
data-streams [7.x] Add index.routing.allocation.include._tier_preference setting (#62589) (#62667) 2020-09-18 15:41:36 -06:00
deprecation [7.x] Fix projects that failed to build within Intellij (#62258) (#62408) 2020-09-17 17:45:12 -05:00
enrich Add Missing NamedWritable Registration for ExecuteEnrichPolicyStatus (#62364) (#62374) 2020-09-15 15:24:15 +02:00
eql EQL: Disallow chained comparisons (#62567) (#62601) 2020-09-18 10:48:14 +02:00
frozen-indices Introduce point in time APIs in x-pack basic (#61062) 2020-09-10 19:25:47 -04:00
graph [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
identity-provider [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
ilm [7.x] Add index.routing.allocation.include._tier_preference setting (#62589) (#62667) 2020-09-18 15:41:36 -06:00
logstash Add logstash system index APIs (#53350) (#62347) 2020-09-15 12:42:14 -04:00
mapper-constant-keyword Implement fields fetch for runtime fields (backport of #61995) (#62416) 2020-09-15 20:24:10 -04:00
mapper-flattened Implement fields fetch for runtime fields (backport of #61995) (#62416) 2020-09-15 20:24:10 -04:00
ml [ML] all multiple wildcard values for GET Calendars, Events, and DELETE forecasts (#62563) (#62629) 2020-09-18 11:06:07 -04:00
monitoring [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
ql EQL: Use Point In Time inside sequences (#62276) 2020-09-15 15:40:03 +03:00
repositories-metering-api [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
rollup [7.x] Generalize AsyncTwoPhaseIndexer first phase (#61739) (#62482) 2020-09-17 11:57:22 +03:00
runtime-fields [7.x] Fix projects that failed to build within Intellij (#62258) (#62408) 2020-09-17 17:45:12 -05:00
search-business-rules [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
searchable-snapshots Deprecate Repository Stats API (#62297) (#62308) 2020-09-14 14:57:38 +02:00
security Muting SimpleSecurityNetty4ServerTransportTests 2020-09-16 15:14:08 +02:00
spatial Implement fields fetch for runtime fields (backport of #61995) (#62416) 2020-09-15 20:24:10 -04:00
sql Upgrade to lucene-8.7.0-snapshot-830bd186a8d. (#62596) 2020-09-18 09:51:34 +02:00
src [ML] all multiple wildcard values for GET Calendars, Events, and DELETE forecasts (#62563) (#62629) 2020-09-18 11:06:07 -04:00
stack [7.x] Add "synthetics-*-*" templates for synthetics fleet data (#62193) (#62346) 2020-09-14 17:14:34 -06:00
transform [7.x] Generalize AsyncTwoPhaseIndexer first phase (#61739) (#62482) 2020-09-17 11:57:22 +03:00
vectors Implement fields fetch for runtime fields (backport of #61995) (#62416) 2020-09-15 20:24:10 -04:00
voting-only-node [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
watcher [7.x] Remove integTest task from PluginBuildPlugin (#61879) (#62135) 2020-09-09 14:25:41 -05:00
wildcard Implement fields fetch for runtime fields (backport of #61995) (#62416) 2020-09-15 20:24:10 -04:00
build.gradle [7.x] Fix projects that failed to build within Intellij (#62258) (#62408) 2020-09-17 17:45:12 -05:00