aswinshakil commented on code in PR #4486:
URL: https://github.com/apache/ozone/pull/4486#discussion_r1154742623
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -1394,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.
+ *
+ * @param keyCount max number of keys to return.
+ * @param omSnapshotManager SnapshotManager
+ * @return a list of {@link BlockGroup} represent keys and blocks.
+ * @throws IOException
+ */
+ public List<BlockGroup> getPendingDeletionKeys(final int keyCount,
+ OmSnapshotManager omSnapshotManager) throws IOException {
Review Comment:
Sure, I will do it in a separate JIRA.
--
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]