From 9026c3ee92f1f13630a989023acd8c47829e3ec0 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Tue, 18 Sep 2018 19:53:42 +0200 Subject: [PATCH] Ensure realtime `_get` and `_termvectors` don't run on the network thread (#33814) The change in #27500 introduces this regression that causes `_get` and `_term_vector` actions to run on the network thread if the realtime flag is set. This fixes the issue by delegating to the super method forking on the corresponding threadpool. --- .../java/org/elasticsearch/action/get/TransportGetAction.java | 2 +- .../action/termvectors/TransportTermVectorsAction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/action/get/TransportGetAction.java b/server/src/main/java/org/elasticsearch/action/get/TransportGetAction.java index 0aeacb38ffa..63d3d30e1e2 100644 --- a/server/src/main/java/org/elasticsearch/action/get/TransportGetAction.java +++ b/server/src/main/java/org/elasticsearch/action/get/TransportGetAction.java @@ -81,7 +81,7 @@ public class TransportGetAction extends TransportSingleShardAction { try { diff --git a/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java b/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java index a259f5b828a..d2a6055bbe7 100644 --- a/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java +++ b/server/src/main/java/org/elasticsearch/action/termvectors/TransportTermVectorsAction.java @@ -90,7 +90,7 @@ public class TransportTermVectorsAction extends TransportSingleShardAction { try {