HDDS-13755. Add doc for ozone sh snapshot listDiff command#9238
HDDS-13755. Add doc for ozone sh snapshot listDiff command#9238jojochuang merged 2 commits intoapache:masterfrom
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the snapshot documentation by adding detailed usage instructions for the listDiff command. The update provides comprehensive guidance on filtering snapshot diff jobs by status and clarifies the distinction between status filtering and pagination options.
Key Changes
- Added documentation for the
listDiffcommand with multiple usage examples - Documented the
--job-statusand--all-statusflags for filtering snapshot diff jobs - Clarified the difference between
--all-status(status filtering) and-all/-a(pagination) options
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
I'm not sure if this is the right place to put the section. plz feel free to correct me! |
| # List all jobs regardless of status, with pagination limit removed | ||
| ozone sh snapshot listDiff /vol1/bucket1 --all-status -all | ||
| # Or limit results to 10 items | ||
| ozone sh snapshot listDiff /vol1/bucket1 --all-status -l 10 |
There was a problem hiding this comment.
-l defaults to 100:
There was a problem hiding this comment.
I'm fine to not mention it since it's too detailed. The pagination limit default is also applicable to other commands so mentioning it here isn't appropriate.
|
@jojochuang thanks a lot! |
What changes were proposed in this pull request?
follow the requirements from this issue:
I noticed dataflow in this part is like:
What is the link to the Apache JIRA
HDDS-13755
How was this patch tested?
none