Commit 47d2e2a
committed
Fork per-node query action to search_coordination pool
The runtime of this action can heavily depend on the number of shards
queried, how quickly queries execute and how likely the can_match we
execute during the query phase is to return `false`.
As we shouldn't have O(n) cost tasks that may run unpredictably long,
lets fork this to search_coordination like we do for can_match and
field_caps which both have similar runtime cost.1 parent d5c0778 commit 47d2e2a
File tree
1 file changed
+1
-1
lines changed- server/src/main/java/org/elasticsearch/action/search
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
0 commit comments