Skip to content

Commit 68db2f2

Browse files
[DOCS] Fix typo in adapt auto expand replica comments (#60187) (#60241)
Co-authored-by: Howard <[email protected]>
1 parent b30a05b commit 68db2f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/src/main/java/org/elasticsearch/cluster/metadata/AutoExpandReplicas.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public String toString() {
140140
}
141141

142142
/**
143-
* Checks if the are replicas with the auto-expand feature that need to be adapted.
143+
* Checks if there are replicas with the auto-expand feature that need to be adapted.
144144
* Returns a map of updates, which maps the indices to be updated to the desired number of replicas.
145145
* The map has the desired number of replicas as key and the indices to update as value, as this allows the result
146146
* of this method to be directly applied to RoutingTable.Builder#updateNumberOfReplicas.

server/src/main/java/org/elasticsearch/cluster/routing/allocation/AllocationService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public ClusterState disassociateDeadNodes(ClusterState clusterState, boolean rer
262262
}
263263

264264
/**
265-
* Checks if the are replicas with the auto-expand feature that need to be adapted.
265+
* Checks if there are replicas with the auto-expand feature that need to be adapted.
266266
* Returns an updated cluster state if changes were necessary, or the identical cluster if no changes were required.
267267
*/
268268
public ClusterState adaptAutoExpandReplicas(ClusterState clusterState) {

0 commit comments

Comments
 (0)