From 9332e5f2227c93fb4fa9862d7ee56805f4a0b8c2 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 16 Sep 2021 17:51:42 -0400 Subject: [PATCH] [DOCS] Add deprecation docs for incompatible builds (#77730) (#77960) We deprecated the `es.unsafely_permit_handshake_from_incompatible_builds` system property in 7.11 with PR #65601. However, we didn't add a related item to the 7.11 deprecation docs. This adds the missing item. Relates to #65753. --- .../reference/migration/migrate_7_11.asciidoc | 26 +++++++++++++++++-- .../reference/migration/migrate_7_12.asciidoc | 6 ++--- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/docs/reference/migration/migrate_7_11.asciidoc b/docs/reference/migration/migrate_7_11.asciidoc index 6a54620d8d5ae..6ca9bb883e4d0 100644 --- a/docs/reference/migration/migrate_7_11.asciidoc +++ b/docs/reference/migration/migrate_7_11.asciidoc @@ -13,6 +13,7 @@ See also <> and <>. * <> * <> * <> +* <> //NOTE: The notable-breaking-changes tagged regions are re-used in the //Installation and Upgrade Guide @@ -120,7 +121,6 @@ settings of the transform. ==== //end::notable-breaking-changes[] -//// [discrete] [[deprecated-7.11]] === Deprecations @@ -136,4 +136,26 @@ the old behavior is supported until the next major release. To find out if you are using any deprecated functionality, enable <>. -//// +[discrete] +[[breaking_711_transport_deprecations]] +==== Transport deprecations + +//tag::notable-breaking-changes[] +[[deprecate-unsafely_permit_handshake_from_incompatible_builds]] +.The `es.unsafely_permit_handshake_from_incompatible_builds` system property is deprecated. +[%collapsible] +==== +*Details* + +The `es.unsafely_permit_handshake_from_incompatible_builds` system property is +now deprecated. + +{es} verifies that communicating pairs of nodes of the same version are running +the same build and using the same wire format. You can bypass this check by +setting `es.unsafely_permit_handshake_from_incompatible_builds` to `true`. +Skipping this check is unsafe and not recommended. + +*Impact* + +To avoid deprecation warnings, discontinue use of the system property. Instead +ensure that all nodes of the same version are running the same build. +==== +//end::notable-breaking-changes[] diff --git a/docs/reference/migration/migrate_7_12.asciidoc b/docs/reference/migration/migrate_7_12.asciidoc index 8cc0e53af1f3f..5002334e46357 100644 --- a/docs/reference/migration/migrate_7_12.asciidoc +++ b/docs/reference/migration/migrate_7_12.asciidoc @@ -91,14 +91,14 @@ SSL/TLS versions on your JDK]. //end::notable-breaking-changes[] [discrete] -[[deprecated-7.11]] +[[deprecated-7.12]] === Deprecations -The following functionality has been deprecated in {es} 7.10 +The following functionality has been deprecated in {es} 7.12 and will be removed in 8.0 While this won't have an immediate impact on your applications, we strongly encourage you take the described steps to update your code -after upgrading to 7.10. +after upgrading to 7.12. NOTE: Significant changes in behavior are deprecated in a minor release and the old behavior is supported until the next major release.