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.
Fix TransportFieldCapabilitiesAction Blocking Transport Thread (elast…
…ic#75022) (elastic#75081) Running a request per index could take a very long time here if the request covers a larger number of shards (especially when security is enabled). Forking it to the management pool saves the transport thread from getting blocked. Also, to make this request run quicker (again especially with security enabled) I removed the redundant index-level request fan-out here as well to save one step of redundant request handling and authorization (the shard level request is authorized separately again anyway). In a follow-up to 8.x because of 7.x BwC issues, we can refactor away the redundant index-level fan out as well.
- Loading branch information
1 parent
35655f4
commit 239679b
Showing
4 changed files
with
54 additions
and
66 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
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