ffang commented on code in PR #3143:
URL: https://github.com/apache/cxf/pull/3143#discussion_r3318365329


##########
rt/features/clustering/src/main/java/org/apache/cxf/clustering/FailoverTargetSelector.java:
##########
@@ -113,6 +113,13 @@ && 
getClientBootstrapAddress().equals(message.get(Message.ENDPOINT_ADDRESS))) {
                                       params,
                                       context);
             inProgress.putIfAbsent(key, invocation);
+
+            // CXF-9213: reset the per-exchange retry counter at the start of
+            // each new invocation so a singleton RetryStrategy starts from 
zero.
+            if (getStrategy() instanceof RetryStrategy) {

Review Comment:
   Hi @reta ,
   
   Thanks for the feedback, let me think about the 
PerInvocationFailoverStrategy way.
   
   Freeman



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to