prashantpogde commented on code in PR #3784:
URL: https://github.com/apache/ozone/pull/3784#discussion_r983990096
##########
hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/ObjectStore.java:
##########
@@ -548,5 +549,18 @@ public String createSnapshot(String volumeName,
return proxy.createSnapshot(volumeName, bucketName, snapshotName);
}
-
+ /**
+ * List snapshots in a volume/bucket, filtered by a name prefix.
+ * @param volumeName volume name
+ * @param bucketName bucket name
+ * @param startKey the start snapshot name
Review Comment:
The API could be made rich or could be simple. The Base API could be simple
here, returning all snapshots for a given bucket. You can add richness of
parameters on top of that e.g. filtering capability based on name-pattern,
name-range, creation-time range etc.
--
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]