-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Remove Dead Code and Duplication from Metadata #64938
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
Remove Dead Code and Duplication from Metadata #64938
Conversation
Just some random spots I found while researching other things.
Pinging @elastic/es-distributed (:Distributed/Distributed) |
@elasticmachine update branch |
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, thanks for doing this cleanup.
listener.onFailure(e); | ||
return; | ||
} | ||
mappingsResult = state.metadata().findMappings(concreteIndices, indicesService.getFieldFilter()); |
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.
Should we not also remove the if (!doneXXXX)
from the two blocks below in the same go?
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.
I don't think I can remove those with the strange way these requests work (reading features
from an array we could have duplicate entries)?
Thanks Henning! |
Just some random spots I found while researching other things.
(only partly applies to
7.11
in a backport since the types utils need to be kept around there)