From 919f86be8c9ad9e9231ab81e0b4dfe60e8cd04f7 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 15 Sep 2021 08:24:08 -0400 Subject: [PATCH] [DOCS] Add deprecation docs for `xpack.searchable.snapshot.shared_cache.size` (#77727) We deprecated the `xpack.searchable.snapshot.shared_cache.size` setting on non-frozen nodes in 7.12 with PR #70341. However, we didn't add a related item to the 7.12 deprecation docs. This adds the missing item. Relates to #71013. --- .../reference/migration/migrate_7_12.asciidoc | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/docs/reference/migration/migrate_7_12.asciidoc b/docs/reference/migration/migrate_7_12.asciidoc index 8860fedc57f0b..8cc0e53af1f3f 100644 --- a/docs/reference/migration/migrate_7_12.asciidoc +++ b/docs/reference/migration/migrate_7_12.asciidoc @@ -12,6 +12,7 @@ See also <> and <>. * <> * <> * <> +* <> //NOTE: The notable-breaking-changes tagged regions are re-used in the //Installation and Upgrade Guide @@ -87,8 +88,8 @@ For instructions on how to enable these older TLS versions in your {es} cluster, see {ref}/jdk-tls-versions.html#jdk-enable-tls-protocol[Enabling additional SSL/TLS versions on your JDK]. ==== +//end::notable-breaking-changes[] -//// [discrete] [[deprecated-7.11]] === Deprecations @@ -104,4 +105,25 @@ the old behavior is supported until the next major release. To find out if you are using any deprecated functionality, enable <>. -//// +//tag::notable-breaking-changes[] +[discrete] +[[breaking_712_settings_deprecations]] +==== Settings deprecations + +[[deprecate-searchable_snapshot_shared_cache_size]] +.Setting `xpack.searchable.snapshot.shared_cache.size` on non-frozen nodes is deprecated. +[%collapsible] +==== +*Details* + +Setting `xpack.searchable.snapshot.shared_cache.size` to a positive value on a +node without the `data_frozen` role is now deprecated. + +The `xpack.searchable.snapshot.shared_cache.size` node setting reserves space +for a shared cache used by partially mounted {search-snap} indices. {es} only +allocates partially mounted indices to nodes with the `data_frozen` role. + +*Impact* + +To avoid deprecation warnings, discontinue use of the setting on non-frozen +nodes. +==== +//end::notable-breaking-changes[]