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

Deprecate DiscoveryPlugin#getDiscoveryTypes #38410

Merged

Conversation

DaveCTurner
Copy link
Contributor

Marks DiscoveryPlugin#getDiscoveryTypes as deprecated since we intend to
remove the ability for plugins to provide their own discovery type in a future
version.

@DaveCTurner DaveCTurner added >non-issue :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. v6.7.0 labels Feb 5, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

DaveCTurner added a commit to DaveCTurner/elasticsearch that referenced this pull request Feb 5, 2019
With this change we no longer support pluggable discovery implementations. No
known implementations of `DiscoveryPlugin` actually override this method, so in
practice this should have no effect on the wider world. However, we were using
this rather extensively in tests to provide the `test-zen` discovery type. We
no longer need a separate discovery type for tests as we no longer need to
customise its behaviour.

Relates elastic#38410
@DaveCTurner DaveCTurner merged commit 65b0493 into elastic:6.x Feb 5, 2019
@DaveCTurner DaveCTurner deleted the 2019-02-05-deprecate-pluggable-discovery branch February 5, 2019 14:14
DaveCTurner added a commit that referenced this pull request Feb 5, 2019
With this change we no longer support pluggable discovery implementations. No
known implementations of `DiscoveryPlugin` actually override this method, so in
practice this should have no effect on the wider world. However, we were using
this rather extensively in tests to provide the `test-zen` discovery type. We
no longer need a separate discovery type for tests as we no longer need to
customise its behaviour.

Relates #38410
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue v6.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants