You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sadanand48 (via GitHub)" <gi...@apache.org> on 2023/09/12 10:49:18 UTC
[GitHub] [ozone] sadanand48 commented on a diff in pull request #5278: HDDS-9268. [snapshot] Update list of snapshot apis to include lsDiff details
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-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org