You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log allocation explain for unassigned in desiredBalance computaion (#133958)
This PR adds allocaiton explain to logs when there are unassigned shards
after a converged DesiredBalance computation. The allocation explain
prefers unassigned primary over replica. The logging keeps track of one
unassigned shard and does not log again until it becomes assigned.
Relates: ES-12797
Copy file name to clipboardExpand all lines: server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/DesiredBalanceShardsAllocator.java
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -109,20 +109,26 @@ public interface DesiredBalanceReconcilerAction {
Copy file name to clipboardExpand all lines: server/src/test/java/org/elasticsearch/action/admin/cluster/allocation/TransportDeleteDesiredBalanceActionTests.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ public void testDeleteDesiredBalance() throws Exception {
Copy file name to clipboardExpand all lines: server/src/test/java/org/elasticsearch/cluster/routing/allocation/allocator/ClusterAllocationSimulationTests.java
0 commit comments