Siyao Meng created HDDS-13376: --------------------------------- Summary: ozone sh snapshot diff --page-size argument does not work as expected Key: HDDS-13376 URL: https://issues.apache.org/jira/browse/HDDS-13376 Project: Apache Ozone Issue Type: Bug Components: Ozone Client Affects Versions: 2.0.0 Reporter: Siyao Meng
Client CLI seems to disregard the {{--page-size}} argument, and always uses the default (1000). e.g. there are 5000 keys added between snap-3 and snap-4: {code} $ ozone sh snapshot diff --page-size=20000 /vol1/buck1/ snap-3 snap-4 | wc -l 1002 {code} {code} [systest@ccycloud-1 ~]$ ozone sh snapshot diff --page-size=20000 /vol1/buck1/ snap-3 snap-4 Difference between snapshot: snap-3 and snapshot: snap-4 + ./am6r41oms8/10001 + ./am6r41oms8/10002 + ./am6r41oms8/10003 ... + ./am6r41oms8/10999 + ./am6r41oms8/11000 Next token: 1000 {code} {{--token}} works, but {{--page-size}} obviously doesn't: {code} $ ozone sh snapshot diff --page-size=20000 --token=1000 /vol1/buck1/ snap-3 sn ap-4 Difference between snapshot: snap-3 and snapshot: snap-4 + ./am6r41oms8/11001 + ./am6r41oms8/11002 + ./am6r41oms8/11003 ... + ./am6r41oms8/11999 + ./am6r41oms8/12000 Next token: 2000 {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org