Skip to content

Commit 943aa84

Browse files
authored
[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.
1 parent ff47d5b commit 943aa84

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

docs/reference/migration/migrate_7_9.asciidoc

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ you dynamically update the index mapping based on the template's mapping configu
145145

146146
[[deprecate_auto_import_dangling_indices]]
147147
.Automatically importing dangling indices is disabled by default.
148-
149148
[%collapsible]
150149
====
151150
*Details* +
@@ -162,6 +161,30 @@ Alternatively you can enable automatic imports of dangling indices, recovering
162161
the unsafe behaviour of earlier versions, by setting
163162
`gateway.auto_import_dangling_indices` to `true`. This setting is deprecated
164163
and will be removed in {es} 8.0.0. We do not recommend using this setting.
164+
====
165+
166+
[[deprecate_legacy_node_role_settings]]
167+
.Several node role settings are deprecated.
168+
[%collapsible]
169+
====
170+
*Details* +
171+
The following node role settings are now deprecated:
172+
173+
* `node.data`
174+
* `node.ingest`
175+
* `node.master`
176+
* `node.ml`
177+
* `node.remote_cluster_client`
178+
* `node.transform`
179+
* `node.voting_only`
180+
181+
Use the {ref}/modules-node.html#node-roles[`node.roles` setting] instead.
165182
183+
If you used the deprecated node role settings on a 7.13 or later cluster, you
184+
will have a {ref}/logging.html#deprecation-logging[deprecation log message] on
185+
each of your nodes indicating the exact replacement value for `node.roles`.
186+
187+
*Impact* +
188+
To avoid deprecation warnings, discontinue use of the deprecated settings.
166189
====
167190
//end::notable-breaking-changes[]

0 commit comments

Comments
 (0)