aryangupta1998 commented on code in PR #7349:
URL: https://github.com/apache/ozone/pull/7349#discussion_r1870847828


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java:
##########
@@ -158,7 +215,8 @@ public BackgroundTaskResult call() {
           LOG.debug("Running DirectoryDeletingService");
         }
         isRunningOnAOS.set(true);
-        getRunCount().incrementAndGet();
+        // rnCnt will be same for each thread to maintain same CallId.
+        long rnCnt = getRunCount().incrementAndGet();

Review Comment:
   Removed comment as discussed.



##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java:
##########
@@ -238,6 +295,7 @@ public BackgroundTaskResult call() {
         }
       }
       // place holder by returning empty results of this call back.
+      taskCount.getAndDecrement();

Review Comment:
   Done



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