mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 02:13:33 -04:00
DiscoveryPlugin allows extending getJoinValidator and getElectionStrategies. These are implementation details of the system. This commit deprecates these methods so that plugin authors are discouraged from overriding them.
73 lines
2.1 KiB
Text
73 lines
2.1 KiB
Text
[[migrating-8.5]]
|
|
== Migrating to 8.5
|
|
++++
|
|
<titleabbrev>8.5</titleabbrev>
|
|
++++
|
|
|
|
This section discusses the changes that you need to be aware of when migrating
|
|
your application to {es} 8.5.
|
|
|
|
See also <<release-highlights>> and <<es-release-notes>>.
|
|
|
|
coming::[8.5.0]
|
|
|
|
|
|
[discrete]
|
|
[[breaking-changes-8.5]]
|
|
=== Breaking changes
|
|
|
|
// tag::notable-breaking-changes[]
|
|
There are no breaking changes in {es} 8.5.
|
|
// end::notable-breaking-changes[]
|
|
|
|
[discrete]
|
|
[[deprecated-8.5]]
|
|
=== Deprecations
|
|
|
|
The following functionality has been deprecated in {es} 8.5
|
|
and will be removed in a future version.
|
|
While this won't have an immediate impact on your applications,
|
|
we strongly encourage you to take the described steps to update your code
|
|
after upgrading to 8.5.
|
|
|
|
To find out if you are using any deprecated functionality,
|
|
enable <<deprecation-logging, deprecation logging>>.
|
|
|
|
|
|
[discrete]
|
|
[[deprecations_85_plugins]]
|
|
==== Plugin API deprecations
|
|
|
|
[[network_plugins_deprecated]]
|
|
Plugins that extend the NetworkPlugin interface are deprecated.
|
|
[%collapsible]
|
|
====
|
|
*Details* +
|
|
Plugins may override funcionality that controls how nodes connect
|
|
with other nodes over TCP/IP. These plugins extend the NetworkPlugin
|
|
interface. In the next major release, these plugins will fail
|
|
to install.
|
|
|
|
*Impact* +
|
|
Discontinue using any plugins which extend NetworkPlugin. You can
|
|
see if any plugins use deprecated functionality by checking
|
|
the Elasticsearch deprecation log.
|
|
====
|
|
|
|
[[discoveryplugin_joinvalidator_and_election_strategies_deprecated]]
|
|
.Extending DiscoveryPlugin to override join validators or election strategies is deprecated
|
|
[%collapsible]
|
|
====
|
|
*Details* +
|
|
Plugins that extend DiscoveryPlugin may override getJoinValidator and
|
|
getElectionStrategies. These methods are implementation details of the
|
|
clustering mechanism within Elasticsearch. They should not be overriden.
|
|
In the next major release, plugins overriding getJoinValidator or
|
|
getElectionStrategies will fail to install.
|
|
|
|
*Impact* +
|
|
Discontinue using any plugins that override getJoinValidator or
|
|
getElectionStrategies in DiscoveryPlugin. You can see if any plugins
|
|
use deprecated functionality by checking the Elasticsearch deprecation log.
|
|
====
|
|
|