Remote assertion that relies on all shards being successful
The assertion that if there are buffered aggs at least one incremental reduce phase should have happened doens't hold if there are shard failure. This commit removes this assertion. Relates to #23288
This commit is contained in:
parent
81d53470e7
commit
ca38e88148
|
@ -497,7 +497,6 @@ public class SearchPhaseController extends AbstractComponent {
|
|||
final List<InternalAggregations> aggregationsList;
|
||||
if (bufferdAggs != null) {
|
||||
consumeAggs = false;
|
||||
assert numReducePhases > 1 : "num reduce phases must be > 1 but was: " + numReducePhases;
|
||||
// we already have results from intermediate reduces and just need to perform the final reduce
|
||||
assert firstResult.hasAggs() : "firstResult has no aggs but we got non null buffered aggs?";
|
||||
aggregationsList = bufferdAggs;
|
||||
|
|
Loading…
Reference in New Issue