aswinshakil commented on code in PR #4486:
URL: https://github.com/apache/ozone/pull/4486#discussion_r1154739132
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1395,16 +1395,35 @@ private PersistedUserVolumeInfo getVolumesByUser(String
userNameKey)
}
}
- @Override
- public List<BlockGroup> getPendingDeletionKeys(final int keyCount)
- throws IOException {
+ /**
+ * Returns a list of pending deletion key info that ups to the given count.
+ * Each entry is a {@link BlockGroup}, which contains the info about the key
+ * name and all its associated block IDs. A pending deletion key is stored
+ * with #deleting# prefix in OM DB.
Review Comment:
I don't think we do this anymore. This was being done in a very older
version of ozone using levelDB. We can remove this comment.
https://github.com/apache/ozone/blob/5756fd876f0997629205238195edfee0c7472b01/hadoop-hdds/common/src/main/java/org/apache/hadoop/ozone/OzoneConsts.java#L170-L191
--
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]