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


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/snapshot/OMSnapshotPurgeRequest.java:
##########
@@ -140,6 +142,7 @@ private void updateSnapshotInfoAndCache(SnapshotInfo 
snapInfo, OmMetadataManager
       // current snapshot is deleted. We can potentially
       // reclaim more keys in the next snapshot.
       snapInfo.setDeepClean(false);
+      snapInfo.setDeepCleanedDeletedDir(false);

Review Comment:
   The flag indicates that the snapshot if the snapshot has already been 
deepCleaned or not. So when it is set to false deep cleaning would be performed 
on the snapshot



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