forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break up and simplify TransportFieldCapabilitiesAction (elastic#76958)
`TransportFieldCapabilitiesAction` currently holds a lot of logic. This PR breaks it up into smaller pieces and simplifies its large `doExecute` method. Simplifying the class will help before we start to make field caps optimizations. Changes: * Factor some methods out of `doExecute` to reduce its length * Streamline index block checking This backport doesn't include the change "Pull AsyncShardAction out into its own class", since it's already part of a separate class in 7.x.
- Loading branch information
1 parent
4079bc9
commit 13e86e3
Showing
2 changed files
with
71 additions
and
67 deletions.
There are no files selected for viewing
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
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