swamirishi commented on code in PR #7200:
URL: https://github.com/apache/ozone/pull/7200#discussion_r1765865328
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotUtils.java:
##########
@@ -138,37 +150,25 @@ public static void checkSnapshotActive(SnapshotInfo
snapInfo,
}
}
+
/**
- * Get the next non deleted snapshot in the snapshot chain.
+ * Get the next in the snapshot chain.
Review Comment:
done
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java:
##########
@@ -838,6 +838,28 @@ public String getBucketKey(String volume, String bucket) {
return builder.toString();
}
+ /**
+ * Given a volume and bucket, return the corresponding DB key prefix.
+ *
+ * @param volume - Volume name
+ * @param bucket - Bucket name
+ */
+ @Override
+ public String getBucketKeyPrefix(String volume, String bucket) {
+ return getOzoneKey(volume, bucket, OM_KEY_PREFIX);
+ }
+
+ /**
+ * Given a volume and bucket, return the corresponding DB key prefix.
Review Comment:
done
--
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]