Skip to content

Commit 6c0ccdf

Browse files
authored
Run TransportClusterInfoActions on MANAGEMENT pool (#87973)
Today subclasses of `TransportClusterInfoAction` execute `masterOperation` on `SAME` which often means a transport worker. This includes nontrivial things like decompressing mappings in `TransportGetMappingsAction` and `TransportGetIndexAction` (if a field filter is specified) and iterating over index settings and aliases in `TransportGetIndexAction`. This commit moves this work to the `MANAGEMENT` threadpool instead. Backport of #87679
1 parent 6941976 commit 6c0ccdf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changelog/87679.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 87679
2+
summary: Run `TransportClusterInfoActions` on MANAGEMENT pool
3+
area: Stats
4+
type: bug
5+
issues: []

server/src/main/java/org/elasticsearch/action/support/master/info/TransportClusterInfoAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public TransportClusterInfoAction(
4343
request,
4444
indexNameExpressionResolver,
4545
response,
46-
ThreadPool.Names.SAME
46+
ThreadPool.Names.MANAGEMENT
4747
);
4848
}
4949

0 commit comments

Comments
 (0)