-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Convert o.e.cluster to use Map in public methods #87168
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Many classes that use ImmutableOpenMap expose the maps directly, when the consumers actually only use methods from the base Map interface. This commit converts public methods in subpackages of o.e.cluster to return Map instead of ImmutableOpenMap. Note that o.e.cluster classes are not yet converted because they require more involved changes. relates elastic#86239
Pinging @elastic/es-distributed (Team:Distributed) |
35 tasks
commit 844f73e382787f9be995639da3caee16db8ba3cd Merge: ce841f089d1 767fd68 Author: Ryan Ernst <ryan@iernst.net> Date: Wed Jun 1 05:46:32 2022 -0700 Merge branch 'master' into hppc/cluster_public commit ce841f089d1fd3a6af1c86ce2a242238b7ccdf79 Author: Ryan Ernst <ryan@iernst.net> Date: Tue May 31 06:15:01 2022 -0700 snapshotsinprogress commit f4a752c81a2633eb586b9f1ea13ffe6f3c4ba74d Author: Ryan Ernst <ryan@iernst.net> Date: Tue May 31 06:08:06 2022 -0700 clusterinfo
grcevski
approved these changes
Jun 3, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed/Distributed
A catch all label for anything in the Distributed Area. If you aren't sure, use this one.
>refactoring
Team:Distributed
Meta label for distributed team
v8.4.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Many classes that use ImmutableOpenMap expose the maps directly, when
the consumers actually only use methods from the base Map interface.
This commit converts public methods in subpackages of o.e.cluster to
return Map instead of ImmutableOpenMap. Note that o.e.cluster classes
are not yet converted because they require more involved changes.
relates #86239