-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Fold PlainShardIterator into ShardIterator #121893
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
Fold PlainShardIterator into ShardIterator #121893
Conversation
ShardIterator is an interface with a single implementation called PlainShardIterator. This commit makes it a concrete final class and folds its only implementation into it.
|
Pinging @elastic/es-distributed-indexing (Team:Distributed Indexing) |
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
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, left some comments for the javadoc
server/src/main/java/org/elasticsearch/cluster/routing/ShardIterator.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/cluster/routing/ShardIterator.java
Outdated
Show resolved
Hide resolved
|
Thanks, both of you Armin and Tanguy! |
💔 Backport failed
You can use sqren/backport to manually backport by running |
ShardIterator is an interface with a single implementation called PlainShardIterator. This commit makes it a concrete final class and folds its only implementation into it.