devabhishekpal commented on code in PR #7517:
URL: https://github.com/apache/ozone/pull/7517#discussion_r1907208823


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/NSSummaryTask.java:
##########
@@ -112,6 +113,8 @@ public Pair<String, Boolean> process(OMUpdateEventBatch 
events) {
     if (!success) {
       LOG.error("processWithOBS failed.");
     }
+    LOG.debug("{} successfully processed in {} milliseconds",

Review Comment:
   We can also figure out this metric by the difference in the 
`lastUpdatedTimestamp`.
   For each task this metric is already present; read from DB. If we check the 
difference between the current and the previous timestamp we will get the time 
taken for a task to run.
   But is good to have a debug level log as well.



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