Skip to content

Commit a0c62c3

Browse files
committed
Typo
1 parent e914824 commit a0c62c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/DesiredBalanceReconciler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ private DiscoveryNode findRelocationTarget(
634634
Set<String> desiredNodeIds,
635635
BiFunction<ShardRouting, RoutingNode, Decision> canAllocateDecider
636636
) {
637-
// First sort by allocation ordering so we distributed relocated shards evenly
637+
// First sort by allocation ordering so we distribute relocated shards evenly
638638
final List<String> allocationPreference = allocationOrdering.sort(desiredNodeIds);
639639
for (final var nodeId : allocationPreference) {
640640
// TODO consider ignored nodes here too?

0 commit comments

Comments
 (0)