diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/termsenum/action/TransportTermsEnumAction.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/termsenum/action/TransportTermsEnumAction.java index 6ad321cc1096a..d176a49b512bd 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/termsenum/action/TransportTermsEnumAction.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/termsenum/action/TransportTermsEnumAction.java @@ -481,12 +481,9 @@ boolean checkForEarlyFinish() { protected void performOperation(final String nodeId, final Set shardIds, final int nodeIndex) { if (shardIds.size() == 0) { // no more active shards... (we should not really get here, just safety) - // MH TODO somewhat arbitrarily returining firsy onNoOperation(nodeId); } else { try { - // TODO pass through a reduced timeout (the original time limit, minus whatever we may have - // spent already getting to this point. final NodeTermsEnumRequest nodeRequest = newNodeRequest(nodeId, shardIds, request); nodeRequest.setParentTask(clusterService.localNode().getId(), task.getId()); DiscoveryNode node = nodes.get(nodeId);