Skip to content

Commit

Permalink
Update FailOverClusterClient.java
Browse files Browse the repository at this point in the history
  • Loading branch information
tullyliu committed Oct 3, 2022
1 parent 99e7001 commit 8523ccf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ public Request getRequest() {
public void onResponse(Response response) {
Integer canRetryTimes = retryTimesMap.get(getRequest());
AtomicInteger remindRetryTimes = remainedRetries.get(getRequest());
if (canRetryTimes != null && remindRetryTimes != null && !canRetryTimes.equals(remindRetryTimes.get())) { // 代表经历过retry了,记录重试成功日志
if (canRetryTimes != null && remindRetryTimes != null && !canRetryTimes.equals(remindRetryTimes.get())) {
// 代表经历过retry了,记录重试成功日志
LOGGER.info(
"[FailOver] Request retry success:" + " serviceName {}, methodName {}, traceId {}, retryCount {}",
getRequest().getServiceName(), getRequest().getMethodName(),
Expand Down

0 comments on commit 8523ccf

Please sign in to comment.