yujun777 commented on code in PR #28079:
URL: https://github.com/apache/doris/pull/28079#discussion_r1582067183


##########
fe/fe-core/src/main/java/org/apache/doris/master/ReportHandler.java:
##########
@@ -559,8 +567,16 @@ private static void taskReport(long backendId, 
Map<TTaskType, Set<Long>> running
         if (batchTask.getTaskNum() > 0) {
             AgentTaskExecutor.submit(batchTask);
         }
-        LOG.info("finished to handle task report from backend {}, diff task 
num: {}. cost: {} ms",
-                backendId, batchTask.getTaskNum(), (System.currentTimeMillis() 
- start));
+
+        int publishTaskSize = runningTasks.get(TTaskType.PUBLISH_VERSION) != 
null
+                ? runningTasks.get(TTaskType.PUBLISH_VERSION).size() : 0;
+        LOG.info("finished to handle task report from backend {}-{}, "
+                + "diff task num: {}, publishTaskSize: {}, runningTasks: {}, 
cost: {} ms.",
+                backendId, 
Env.getCurrentSystemInfo().getBackend(backendId).getHost(),

Review Comment:
   Env.getCurrentSystemInfo().getBackend(backendId) need consider be had deleted



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to