From df751a5db7bfe654aa10bf4472f334617cc0d9a7 Mon Sep 17 00:00:00 2001 From: Stef Nestor <26751266+stefnestor@users.noreply.github.com> Date: Thu, 18 Jul 2024 15:15:18 -0600 Subject: [PATCH] test --- .../java/org/elasticsearch/indices/ShardLimitValidator.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/main/java/org/elasticsearch/indices/ShardLimitValidator.java b/server/src/main/java/org/elasticsearch/indices/ShardLimitValidator.java index 06bb1439be4e6..f58ee757cc511 100644 --- a/server/src/main/java/org/elasticsearch/indices/ShardLimitValidator.java +++ b/server/src/main/java/org/elasticsearch/indices/ShardLimitValidator.java @@ -13,6 +13,7 @@ import org.elasticsearch.cluster.node.DiscoveryNode; import org.elasticsearch.cluster.node.DiscoveryNodeRole; import org.elasticsearch.cluster.service.ClusterService; +import org.elasticsearch.common.ReferenceDocs; import org.elasticsearch.common.ValidationException; import org.elasticsearch.common.settings.Setting; import org.elasticsearch.common.settings.Settings; @@ -296,7 +297,8 @@ static String errorMessageFrom(Result result) { + result.maxShardsInCluster + "] maximum " + result.group - + " shards open"; + + " shards open; for more information, see " + + ReferenceDocs.MAX_SHARDS_PER_NODE; } /**