From: Kalpesh Pandya Date: Tue, 30 Jul 2024 10:31:37 +0000 (+0530) Subject: src/rgw: Adding "sync error trim" option X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3d8a72f8220a727c8bcb49a1d7c4f3f8a0f3f58c;p=ceph-ci.git src/rgw: Adding "sync error trim" option Just adding the "sync error trim" option for --shard-id while executing `radosgw-admin --help` Fixes: https://tracker.ceph.com/issues/68548 Signed-off-by: Kalpesh Pandya (cherry picked from commit 34312bb253f083fd06a62119727caedb97945d02) resolves rhbz#2282369 --- diff --git a/src/rgw/radosgw-admin/radosgw-admin.cc b/src/rgw/radosgw-admin/radosgw-admin.cc index 9211a56bd40..15064d4f860 100644 --- a/src/rgw/radosgw-admin/radosgw-admin.cc +++ b/src/rgw/radosgw-admin/radosgw-admin.cc @@ -400,6 +400,7 @@ void usage() cout << " --shard-id= optional for:\n"; cout << " mdlog list\n"; cout << " data sync status\n"; + cout << " sync error trim\n"; cout << " required for:\n"; cout << " mdlog trim\n"; cout << " --gen= optional for:\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 2146de6ed8a..6e6b170755e 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -262,6 +262,7 @@ --shard-id= optional for: mdlog list data sync status + sync error trim required for: mdlog trim --gen= optional for: