From: Huber-ming Date: Thu, 4 Nov 2021 01:25:37 +0000 (+0800) Subject: radosgw-admin: supplement help documents with 'mdlog autotrim' X-Git-Tag: v17.1.0~512^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9c96bcb2038a1ace7a5916143211f4a9414aa994;p=ceph-ci.git radosgw-admin: supplement help documents with 'mdlog autotrim' Signed-off-by: Huber-ming --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index adacbc6d8ef..70393004572 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -242,6 +242,7 @@ void usage() cout << " mdlog status read metadata log status\n"; cout << " bilog list list bucket index log\n"; cout << " bilog trim trim bucket index log (use start-marker, end-marker)\n"; + cout << " mdlog autotrim auto trim metadata log\n"; cout << " bilog status read bucket index log status\n"; cout << " datalog list list data log\n"; cout << " datalog trim trim data log\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index e5408d651b4..095c46d0de1 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -134,6 +134,7 @@ mdlog status read metadata log status bilog list list bucket index log bilog trim trim bucket index log (use start-marker, end-marker) + mdlog autotrim auto trim metadata log bilog status read bucket index log status datalog list list data log datalog trim trim data log