]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
radosgw-admin: supplement help documents with 'mdlog autotrim' 43768/head
authorHuber-ming <zhangsm01@inspur.com>
Thu, 4 Nov 2021 01:25:37 +0000 (09:25 +0800)
committerHuber-ming <zhangsm01@inspur.com>
Thu, 4 Nov 2021 01:25:37 +0000 (09:25 +0800)
Signed-off-by: Huber-ming <zhangsm01@inspur.com>
src/rgw/rgw_admin.cc
src/test/cli/radosgw-admin/help.t

index adacbc6d8ef91ce5d09bfd90881ca9668908c872..703930045722f490de2af9782e26c048bfcac9eb 100644 (file)
@@ -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";
index e5408d651b4b0e64e4303e35f91db88ba91b2617..095c46d0de1dd4cdea4072e441c17148f3244871 100644 (file)
     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