Skip to content

Commit 88233b3

Browse files
CR: comment
1 parent 2660b77 commit 88233b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/action/search/AbstractSearchAsyncAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ abstract class AbstractSearchAsyncAction<Result extends SearchPhaseResult> exten
135135
}
136136
this.skippedCount = skipped;
137137
this.shardsIts = iterators;
138-
outstandingShards = new AtomicInteger(shardsIts.size() - skipped);
138+
outstandingShards = new AtomicInteger(iterators.size());
139139
successfulOps = new AtomicInteger(skipped);
140140
this.shardIterators = iterators.toArray(new SearchShardIterator[0]);
141141
// we later compute the shard index based on the natural order of the shards

0 commit comments

Comments
 (0)