From 32a7436eaa98b9a697f3feb434a6e7984f319d47 Mon Sep 17 00:00:00 2001 From: lvshanchun Date: Mon, 5 Feb 2018 21:03:18 +0800 Subject: [PATCH] doc: update radosgw-admin.rst and help.t about data sync status Signed-off-by: lvshanchun (cherry picked from commit 33a0ec7164eff9fb66f05d984eb92b0de4ced9b1) --- doc/man/8/radosgw-admin.rst | 6 +++++- src/test/cli/radosgw-admin/help.t | 19 +++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index 4aaeb392285e5..e4ddb152e1471 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -306,9 +306,13 @@ Options .. option:: --shard-id= - Optional for mdlog list. Required for ``mdlog trim``, + Optional for mdlog list, data sync status. Required for ``mdlog trim``, ``replica mdlog get/delete``, ``replica datalog get/delete``. +.. option:: --max-entries= + + Optional for listing operations to specify the max entires + .. option:: --auth-uid=auid The librados auid. diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 28150cac7110d..f847c7677eb07 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -160,18 +160,21 @@ --max-buckets max number of buckets for a user --admin set the admin flag on the user --system set the system flag on the user - --bucket= - --pool= - --object= - --date= - --start-date= - --end-date= - --bucket-id= - --shard-id= optional for mdlog list + --bucket= Specify the bucket name. Also used by the quota command. + --pool= Specify the pool name. Also used to scan for leaked rados objects. + --object= object name + --date= date in the format yyyy-mm-dd + --start-date= start date in the format yyyy-mm-dd + --end-date= end date in the format yyyy-mm-dd + --bucket-id= bucket id + --shard-id= optional for: + mdlog list + data sync status required for: mdlog trim replica mdlog get/delete replica datalog get/delete + --max-entries= max entries for listing operations --metadata-key= key to retrieve metadata from with metadata get --remote= zone or zonegroup id of remote gateway --period= period id -- 2.39.5