From 9c96bcb2038a1ace7a5916143211f4a9414aa994 Mon Sep 17 00:00:00 2001 From: Huber-ming Date: Thu, 4 Nov 2021 09:25:37 +0800 Subject: [PATCH] radosgw-admin: supplement help documents with 'mdlog autotrim' Signed-off-by: Huber-ming --- src/rgw/rgw_admin.cc | 1 + src/test/cli/radosgw-admin/help.t | 1 + 2 files changed, 2 insertions(+) diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index adacbc6d8ef9..703930045722 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 e5408d651b4b..095c46d0de1d 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 -- 2.47.3