From b142cdb216911b5fedcbd60fdde1aaba75383a3b Mon Sep 17 00:00:00 2001 From: xiaoheng1 <2018154970@qq.com> Date: Tue, 27 Jul 2021 11:11:11 +0800 Subject: [PATCH] fix String.format lack of arg which is from BroadcastClusterInvoker link #8341 (#8348) --- .../dubbo/rpc/cluster/support/BroadcastClusterInvoker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java index fcfb13200c3..06ad24526c2 100644 --- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java +++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java @@ -96,7 +96,7 @@ public Result doInvoke(final Invocation invocation, List> invokers, L String.format("The number of BroadcastCluster call failures has reached the threshold %s", failThresholdIndex)); } else { logger.debug(String.format("The number of BroadcastCluster call failures has not reached the threshold %s, fail size is %s", - failIndex)); + failThresholdIndex, failIndex)); } throw exception; }