smengcl commented on code in PR #9380:
URL: https://github.com/apache/ozone/pull/9380#discussion_r2566607403


##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/defrag/SnapshotDefragService.java:
##########
@@ -613,10 +613,10 @@ private boolean 
checkAndDefragSnapshot(SnapshotChainManager chainManager, UUID s
         checkpointMetadataManager = null;
         // Switch the snapshot DB location to the new version.
         previousVersion  = atomicSwitchSnapshotDB(snapshotId, 
checkpointLocation);
+        omSnapshotManager.deleteSnapshotCheckpointDirectories(snapshotId, 
previousVersion);

Review Comment:
   Title doesn't correctly reflect the change?



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