File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -502,10 +502,10 @@ private void maybeLogAllocationExplainForUnassigned(
502502 assert lastTrackedUnassignedShard == null : "unexpected non-null lastTrackedUnassignedShard " + lastTrackedUnassignedShard ;
503503 if (routingNodes .hasUnassignedShards () && finishReason == DesiredBalance .ComputationFinishReason .CONVERGED ) {
504504 final Predicate <ShardRouting > predicate = routingNodes .hasUnassignedPrimaries () ? ShardRouting ::primary : shard -> true ;
505- lastTrackedUnassignedShard = Stream .concat (
506- routingNodes . unassigned (). stream (),
507- routingNodes . unassigned (). ignored (). stream (). filter ( predicate )
508- ). findFirst () .orElseThrow ();
505+ lastTrackedUnassignedShard = Stream .concat (routingNodes . unassigned (). stream (), routingNodes . unassigned (). ignored (). stream ())
506+ . filter ( predicate )
507+ . findFirst ( )
508+ .orElseThrow ();
509509
510510 final var originalDebugMode = routingAllocation .getDebugMode ();
511511 routingAllocation .setDebugMode (RoutingAllocation .DebugMode .EXCLUDE_YES_DECISIONS );
You can’t perform that action at this time.
0 commit comments