From 7c1576adffa6c15792eb8b01971e9df73fad97ac Mon Sep 17 00:00:00 2001 From: Chris Parrinello Date: Fri, 3 Oct 2025 09:39:58 -0500 Subject: [PATCH 1/3] Move can-match thread from transport thread to search coordinator thread --- .../org/elasticsearch/action/search/SearchTransportService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/action/search/SearchTransportService.java b/server/src/main/java/org/elasticsearch/action/search/SearchTransportService.java index 1e0fa28889c97..4d3361a7c208a 100644 --- a/server/src/main/java/org/elasticsearch/action/search/SearchTransportService.java +++ b/server/src/main/java/org/elasticsearch/action/search/SearchTransportService.java @@ -439,7 +439,7 @@ public static void registerRequestHandler(TransportService transportService, Sea transportService.registerRequestHandler( QUERY_ACTION_NAME, - EsExecutors.DIRECT_EXECUTOR_SERVICE, + transportService.getThreadPool().executor(ThreadPool.Names.SEARCH_COORDINATION), ShardSearchRequest::new, (request, channel, task) -> searchService.executeQueryPhase( request, From 0665fc7258f3290c0ca7db63ed24217972300c34 Mon Sep 17 00:00:00 2001 From: Chris Parrinello Date: Fri, 3 Oct 2025 09:44:52 -0500 Subject: [PATCH 2/3] Update docs/changelog/135934.yaml --- docs/changelog/135934.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/changelog/135934.yaml diff --git a/docs/changelog/135934.yaml b/docs/changelog/135934.yaml new file mode 100644 index 0000000000000..48172af5841db --- /dev/null +++ b/docs/changelog/135934.yaml @@ -0,0 +1,5 @@ +pr: 135934 +summary: Move can-match thread from transport thread to search coordinator thread +area: Search +type: bug +issues: [] From 8d9f5f4ab6646fcb4b41a152f7958b3b1de35c09 Mon Sep 17 00:00:00 2001 From: Chris Parrinello Date: Fri, 3 Oct 2025 16:37:54 -0500 Subject: [PATCH 3/3] Update docs/changelog/135934.yaml --- docs/changelog/135934.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/135934.yaml b/docs/changelog/135934.yaml index 48172af5841db..6be1e04e0092f 100644 --- a/docs/changelog/135934.yaml +++ b/docs/changelog/135934.yaml @@ -2,4 +2,5 @@ pr: 135934 summary: Move can-match thread from transport thread to search coordinator thread area: Search type: bug -issues: [] +issues: + - 134959