From 23ab929eeba81bc2cb70f7b751721e53f8ec4de8 Mon Sep 17 00:00:00 2001 From: Adam Locke Date: Thu, 2 Sep 2021 08:45:18 -0400 Subject: [PATCH] [DOCS] Fix styling of deprecation message (#77173) * [DOCS] Fix styling of deprecation message Fixes the alignment and display of the deprecation messages on the index-level data tier allocation filtering page. * Add quotes to deprecation string --- .../allocation/data_tier_allocation.asciidoc | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/docs/reference/index-modules/allocation/data_tier_allocation.asciidoc b/docs/reference/index-modules/allocation/data_tier_allocation.asciidoc index b19312a60b904..39eb1dfd8f8e2 100644 --- a/docs/reference/index-modules/allocation/data_tier_allocation.asciidoc +++ b/docs/reference/index-modules/allocation/data_tier_allocation.asciidoc @@ -26,33 +26,33 @@ mounted indices>> exclusively. `index.routing.allocation.include._tier`:: - Assign the index to a node whose `node.roles` configuration has at - least one of to the comma-separated values. - - deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <> instead] +Assign the index to a node whose `node.roles` configuration has at +least one of to the comma-separated values. ++ +deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <> instead."] `index.routing.allocation.require._tier`:: - Assign the index to a node whose `node.roles` configuration has _all_ - of the comma-separated values. - - deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <> instead] +Assign the index to a node whose `node.roles` configuration has _all_ +of the comma-separated values. ++ +deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <> instead."] `index.routing.allocation.exclude._tier`:: - Assign the index to a node whose `node.roles` configuration has _none_ of the - comma-separated values. - - deprecated::[7.13, Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated, use <> instead] +Assign the index to a node whose `node.roles` configuration has _none_ of the +comma-separated values. ++ +deprecated::[7.13,"Filtering based on `include._tier`, `require._tier` and `exclude._tier` is deprecated. Use <> instead."] [[tier-preference-allocation-filter]] `index.routing.allocation.include._tier_preference`:: - Assign the index to the first tier in the list that has an available node. - This prevents indices from remaining unallocated if no nodes are available - in the preferred tier. - For example, if you set `index.routing.allocation.include._tier_preference` - to `data_warm,data_hot`, the index is allocated to the warm tier if there - are nodes with the `data_warm` role. If there are no nodes in the warm tier, - but there are nodes with the `data_hot` role, the index is allocated to - the hot tier. +Assign the index to the first tier in the list that has an available node. +This prevents indices from remaining unallocated if no nodes are available +in the preferred tier. +For example, if you set `index.routing.allocation.include._tier_preference` +to `data_warm,data_hot`, the index is allocated to the warm tier if there +are nodes with the `data_warm` role. If there are no nodes in the warm tier, +but there are nodes with the `data_hot` role, the index is allocated to +the hot tier.