Skip to content

Commit

Permalink
Remove outdated TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
markharwood committed May 6, 2021
1 parent cf70053 commit 22312cf
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -481,12 +481,9 @@ boolean checkForEarlyFinish() {
protected void performOperation(final String nodeId, final Set<ShardId> 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);
Expand Down

0 comments on commit 22312cf

Please sign in to comment.