swamirishi commented on code in PR #7200:
URL: https://github.com/apache/ozone/pull/7200#discussion_r1761986680


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/DirectoryDeletingService.java:
##########
@@ -144,6 +155,7 @@ public BackgroundTaskResult call() {
         if (LOG.isDebugEnabled()) {
           LOG.debug("Running DirectoryDeletingService");
         }
+        isRunningOnAOS = true;

Review Comment:
   We don't need a countDown latch here. We have to just ensure that while the 
KeyDeletingService a delete snapshot command didn't come in. The subsequent key 
deleting service iteration would  start ignoring the keys for the bucket. So 
any merge entry sent over by SnapshostDeletingService would be fine as the none 
of the entry  corresponding to the bucket would ever be processed by either of 
DirectoryDeletingService & KeyDeletingService



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