From 943aa84eb0b2eb2d3a923ab6b4ca941b067b91f3 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 15 Sep 2021 08:53:09 -0400 Subject: [PATCH] [DOCS] Add deprecation docs for legacy node role settings (#77719) (#77772) We deprecated several legacy node role settings in 7.9 with PR #54998. However, we didn't add a related item to the 7.9 breaking changes docs. This adds the missing item. Relates to #71163. --- docs/reference/migration/migrate_7_9.asciidoc | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/docs/reference/migration/migrate_7_9.asciidoc b/docs/reference/migration/migrate_7_9.asciidoc index 67e962ffed6e6..b24a7dcb2325a 100644 --- a/docs/reference/migration/migrate_7_9.asciidoc +++ b/docs/reference/migration/migrate_7_9.asciidoc @@ -145,7 +145,6 @@ you dynamically update the index mapping based on the template's mapping configu [[deprecate_auto_import_dangling_indices]] .Automatically importing dangling indices is disabled by default. - [%collapsible] ==== *Details* + @@ -162,6 +161,30 @@ Alternatively you can enable automatic imports of dangling indices, recovering the unsafe behaviour of earlier versions, by setting `gateway.auto_import_dangling_indices` to `true`. This setting is deprecated and will be removed in {es} 8.0.0. We do not recommend using this setting. +==== + +[[deprecate_legacy_node_role_settings]] +.Several node role settings are deprecated. +[%collapsible] +==== +*Details* + +The following node role settings are now deprecated: + +* `node.data` +* `node.ingest` +* `node.master` +* `node.ml` +* `node.remote_cluster_client` +* `node.transform` +* `node.voting_only` + +Use the {ref}/modules-node.html#node-roles[`node.roles` setting] instead. +If you used the deprecated node role settings on a 7.13 or later cluster, you +will have a {ref}/logging.html#deprecation-logging[deprecation log message] on +each of your nodes indicating the exact replacement value for `node.roles`. + +*Impact* + +To avoid deprecation warnings, discontinue use of the deprecated settings. ==== //end::notable-breaking-changes[]