Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Add deprecation docs for xpack.searchable.snapshot.shared_cache.size #77727

Merged
merged 1 commit into from
Sep 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions docs/reference/migration/migrate_7_12.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ See also <<release-highlights>> and <<es-release-notes>>.
* <<breaking_712_engine_changes>>
* <<breaking_712_search_changes>>
* <<breaking_712_ssl_changes>>
* <<breaking_712_settings_deprecations>>

//NOTE: The notable-breaking-changes tagged regions are re-used in the
//Installation and Upgrade Guide
Expand Down Expand Up @@ -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
Expand All @@ -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 <<deprecation-logging, deprecation logging>>.

////
//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[]