From 3dabc4b5bd13051059b85a25e1aafba014c79c52 Mon Sep 17 00:00:00 2001 From: Yang Wang Date: Wed, 30 Oct 2024 16:47:20 +1100 Subject: [PATCH] spotless --- .../cluster/routing/allocation/AllocationService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java index a49a254fa418d..5d1e6741c5e22 100644 --- a/server/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java +++ b/server/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java @@ -588,7 +588,7 @@ private ClusterState rerouteWithResetFailedCounter(ClusterState clusterState) { reroute(allocation, routingAllocation -> shardsAllocator.allocate(routingAllocation, ActionListener.noop())); return buildResultAndLogHealthChange(clusterState, allocation, "reroute with reset failed counter"); } - + private static void disassociateDeadNodes(RoutingAllocation allocation) { for (Iterator it = allocation.routingNodes().mutableIterator(); it.hasNext();) { RoutingNode node = it.next();