sadanand48 commented on code in PR #5278: URL: https://github.com/apache/ozone/pull/5278#discussion_r1322858514
########## hadoop-hdds/docs/content/feature/Snapshot.md: ########## @@ -50,9 +50,13 @@ ozone sh snapshot delete [-hV] <bucket> <snapshotName> ```shell ozone sh snapshot diff [-chV] [-p=<pageSize>] [-t=<continuation-token>] <bucket> <fromSnapshot> <toSnapshot> ``` - SnapshotDiff CLI/API is asynchronous. The first time the API is invoked, OM starts a background thread to calculate the SnapshotDiff, and returns "Retry" with suggested duration for the retry operation. Once the SnapshotDiff is computed, this API returns the diffs in multiple Pages. Within each Diff response, OM also returns a continuation token for the client to continue from the last batch of Diff results. This API is safe to be called multiple times for a given snapshot source and destination pair. Internally each Ozone Manager computes Snapdiff only once and stores it for future invocations of the same Snapshot Diff API. +* List SnapshotDiff Jobs: List all snapshotDiff jobs of a given bucket +```shell +ozone sh snapshot listDiff [-ahV] [-s=<jobStatus>] <value> Review Comment: How about `ozone sh snapshot listDiff [-ahV] [-s=<jobStatus>] <bucket> ` ? -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org