From 196d9df4a2961502f6f228cb35163ced46a5688a Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 14 Sep 2021 12:40:56 -0400 Subject: [PATCH 1/2] [DOCS] Add deprecation docs for `path.shared_data` and `index.data_path` We deprecated the `path.shared_data` and `index.data_path` settings in 7.13 with PR #73178. However, we didn't add a related item to the 7.13 deprecation docs. This adds the missing deprecation docs. Based on docs added to `master` in #73178. --- .../reference/migration/migrate_7_13.asciidoc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/reference/migration/migrate_7_13.asciidoc b/docs/reference/migration/migrate_7_13.asciidoc index 36dc925bf041d..d7f1fffcbb0b1 100644 --- a/docs/reference/migration/migrate_7_13.asciidoc +++ b/docs/reference/migration/migrate_7_13.asciidoc @@ -16,6 +16,7 @@ See also <> and <>. * <> * <> * <> +* <> //NOTE: The notable-breaking-changes tagged regions are re-used in the //Installation and Upgrade Guide @@ -314,4 +315,22 @@ deprecated and will be removed in Elasticsearch 8.0. Discontinue use of the removed setting. Specifying this setting in Elasticsearch configuration will result in an error on startup. ==== + +[discrete] +[[breaking_713_setting_changes]] +==== Setting deprecations + +[[deprecate-shared-data-path-settings]] +.The `path.shared_data` and `index.data_path` settings are deprecated. +[%collapsible] +==== +*Details* + +The `path.shared_data` node setting and `index.data_path` index setting are +now deprecated. {es} previously used these settings for +{ref-bare}/5.6/indices-shadow-replicas.html[shadow replicas]. Shadow replicas +were deprecated in 5.2 and removed in 6.0. + +*Impact* + +To avoid deprecation warnings, discontinue use of the deprecated settings. +==== // end::notable-breaking-changes[] From e3417b5d57c61a25d31a2ea9ebbda235af057544 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Tue, 14 Sep 2021 13:24:30 -0400 Subject: [PATCH 2/2] reword --- docs/reference/migration/migrate_7_13.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/migration/migrate_7_13.asciidoc b/docs/reference/migration/migrate_7_13.asciidoc index d7f1fffcbb0b1..986cad3b1e430 100644 --- a/docs/reference/migration/migrate_7_13.asciidoc +++ b/docs/reference/migration/migrate_7_13.asciidoc @@ -327,8 +327,8 @@ configuration will result in an error on startup. *Details* + The `path.shared_data` node setting and `index.data_path` index setting are now deprecated. {es} previously used these settings for -{ref-bare}/5.6/indices-shadow-replicas.html[shadow replicas]. Shadow replicas -were deprecated in 5.2 and removed in 6.0. +{ref-bare}/5.6/indices-shadow-replicas.html[shadow replicas]. The shadow +replicas feature was deprecated in 5.2 and removed in 6.0. *Impact* + To avoid deprecation warnings, discontinue use of the deprecated settings.