Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Rishab Nahata <rnnahata@amazon.com>
  • Loading branch information
imRishN committed May 20, 2024
1 parent 7239ec7 commit de2f3a1
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import org.opensearch.common.settings.Setting.Property;
import org.opensearch.common.settings.Settings;

import java.util.Locale;
import java.util.function.BiFunction;

import static org.opensearch.cluster.routing.allocation.decider.Decision.THROTTLE;
Expand Down Expand Up @@ -286,7 +285,8 @@ private Decision allocateShardCopies(
return allocation.decision(
THROTTLE,
NAME,
"reached the limit of outgoing shard recoveries [%d] on the node [%s] which holds the primary, " + "cluster setting [%s=%d]",
"reached the limit of outgoing shard recoveries [%d] on the node [%s] which holds the primary, "
+ "cluster setting [%s=%d]",
primaryNodeOutRecoveries,
primaryShard.currentNodeId(),
CLUSTER_ROUTING_ALLOCATION_NODE_INITIAL_REPLICAS_RECOVERIES_SETTING.getKey(),
Expand All @@ -296,7 +296,8 @@ private Decision allocateShardCopies(
return allocation.decision(
THROTTLE,
NAME,
"reached the limit of outgoing shard recoveries [%d] on the node [%s] which holds the primary, " + "cluster setting [%s=%d] (can also be set via [%s])",
"reached the limit of outgoing shard recoveries [%d] on the node [%s] which holds the primary, "
+ "cluster setting [%s=%d] (can also be set via [%s])",
primaryNodeOutRecoveries,
primaryShard.currentNodeId(),
CLUSTER_ROUTING_ALLOCATION_NODE_CONCURRENT_OUTGOING_RECOVERIES_SETTING.getKey(),
Expand Down

0 comments on commit de2f3a1

Please sign in to comment.