smengcl opened a new pull request, #8791:
URL: https://github.com/apache/ozone/pull/8791

   ## What changes were proposed in this pull request?
   
   Add a note to the page-size option of ozone sh snapshot diff that 
server-side config 
[`ozone.om.snapshot.diff.max.page.size`](https://github.com/apache/ozone/blob/8651aa4a76f84473b1e3d4ae8aee4601d6f4503b/hadoop-hdds/common/src/main/resources/ozone-default.xml#L4462-L4469)
 would also be a limiting factor.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13376
   
   ## How was this patch tested?
   
   - Updated CLI help print:
   ```bash
   bash-5.1$ ozone sh snapshot diff -h
   Usage: ozone sh snapshot diff [-chV] [--json] [--verbose] [-p=<pageSize>]
                                 [-t=<token>] <value> <fromSnapshot> 
<toSnapshot>
   Get the differences between two snapshots
         <value>           URI of the bucket (format: volume/bucket).
   ...
     -p, --page-size=<pageSize>
                           number of diff entries to be returned in the 
response.
                             Note the effective page size will also be bound by
                             the server-side page size limit, see config:
                             ozone.om.snapshot.diff.max.page.size
                             Default: 1000
   ```


-- 
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]

Reply via email to