From 65eae2be8b1982e570482dbfc60ce77a580e3bba Mon Sep 17 00:00:00 2001 From: MajorHe1 <53824889+MajorHe1@users.noreply.github.com> Date: Wed, 10 Jun 2026 20:33:09 +0800 Subject: [PATCH] [ISSUE #15351] Update log print in FuzzyWatchSyncNotifyCallback.java fix issue #15351 --- .../push/v2/task/FuzzyWatchSyncNotifyCallback.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/naming/src/main/java/com/alibaba/nacos/naming/push/v2/task/FuzzyWatchSyncNotifyCallback.java b/naming/src/main/java/com/alibaba/nacos/naming/push/v2/task/FuzzyWatchSyncNotifyCallback.java index 623ac4763ae..4cf86c72116 100644 --- a/naming/src/main/java/com/alibaba/nacos/naming/push/v2/task/FuzzyWatchSyncNotifyCallback.java +++ b/naming/src/main/java/com/alibaba/nacos/naming/push/v2/task/FuzzyWatchSyncNotifyCallback.java @@ -53,27 +53,28 @@ public void onSuccess() { long now = System.currentTimeMillis(); if (isFinishInitTask()) { Loggers.PUSH.info( - "[fuzzy watch] init notify finish push success ,clientId={}, pattern ={},total cost time={}ms", + "[fuzzy watch] init notify finish push success, clientId={}, pattern={}, total cost time={}ms", fuzzyWatchSyncNotifyTask.getClientId(), fuzzyWatchSyncNotifyTask.getPattern(), (now - fuzzyWatchSyncNotifyTask.getExecuteStartTime())); } else { Loggers.PUSH.info( - "[fuzzy watch] sync notify task success, pattern {}, syncType={},clientId={},current batch size {},currentBatch={},totalBatch={}", + "[fuzzy watch] sync notify task success, pattern={}, syncType={}, clientId={}, current batch size={}, currentBatch={}, totalBatch={}", fuzzyWatchSyncNotifyTask.getPattern(), fuzzyWatchSyncNotifyTask.getSyncType(), fuzzyWatchSyncNotifyTask.getClientId(), fuzzyWatchSyncNotifyTask.getSyncServiceKeys().size(), - fuzzyWatchSyncNotifyTask.getCurrentBatch()); + fuzzyWatchSyncNotifyTask.getCurrentBatch(), + fuzzyWatchSyncNotifyTask.getTotalBatch()); // if total batch is success sync to client send if (isInitNotifyTask()) { Loggers.PUSH.info( - "[fuzzy watch] init notify push success ,clientId={}, pattern ={} ,currentBatch={},totalBatch={}", + "[fuzzy watch] init notify push success, clientId={}, pattern ={}, currentBatch={}, totalBatch={}", fuzzyWatchSyncNotifyTask.getClientId(), fuzzyWatchSyncNotifyTask.getPattern(), fuzzyWatchSyncNotifyTask.getCurrentBatch(), fuzzyWatchSyncNotifyTask.getTotalBatch()); batchTaskCounter.batchSuccess(fuzzyWatchSyncNotifyTask.getCurrentBatch()); if (batchTaskCounter.batchCompleted()) { Loggers.PUSH.info( - "[fuzzy watch] init notify all batch finish ,clientId={}, pattern ={},start notify init finish task", + "[fuzzy watch] init notify all batch finish, clientId={}, pattern={}, start notify init finish task", fuzzyWatchSyncNotifyTask.getClientId(), fuzzyWatchSyncNotifyTask.getPattern()); FuzzyWatchSyncNotifyTask fuzzyWatchSyncNotifyTaskFinish =