forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dispatch ClusterStateAction#buildResponse to executor (elastic#103435)
If waiting for a particular cluster state (e.g. on the CCR leader) we will compute the resulting cluster state and serialize it on the cluster applier thread, which can be too expensive in a large cluster for this thread. With this commit we dispatch the final action back to the original executor.
- Loading branch information
1 parent
c77b9e9
commit b33ddcc
Showing
2 changed files
with
9 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 103435 | ||
summary: Dispatch `ClusterStateAction#buildResponse` to executor | ||
area: Distributed | ||
type: bug | ||
issues: [] |
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