diff --git a/doc/man/8/radosgw-admin.rst b/doc/man/8/radosgw-admin.rst index d5300d5f860..edbf883ff70 100644 --- a/doc/man/8/radosgw-admin.rst +++ b/doc/man/8/radosgw-admin.rst @@ -131,6 +131,24 @@ which are as follows: :command:`zone list` List all zones set on this cluster. +:command:`metadata sync status` + Get metadata sync status. + +:command:`metadata sync init` + Init metadata sync. + +:command:`metadata sync run` + Run metadata sync. + +:command:`data sync status` + Get data sync status of the specified source zone. + +:command:`data sync init` + Init data sync for the specified source zone. + +:command:`data sync run` + Run data sync for the specified source zone. + :command:`pool add` Add an existing pool for data placement. @@ -345,6 +363,10 @@ Options Zone in which radosgw is running. +.. option:: --source-zone= + + Specify the source zone for data sync. + .. option:: --fix Besides checking bucket index, will also fix it. diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 61220f36a76..fc8ed5f9120 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -143,6 +143,12 @@ void usage() cout << " zone placement add add a zone placement target\n"; cout << " zone placement modify modify a zone placement target\n"; cout << " zone placement rm remove a zone placement target\n"; + cout << " metadata sync status get metadata sync status\n"; + cout << " metadata sync init init metadata sync\n"; + cout << " metadata sync run run metadata sync\n"; + cout << " data sync status get data sync status of the specified source zone\n"; + cout << " data sync init init data sync for the specified source zone\n"; + cout << " data sync run run data sync for the specified source zone\n"; cout << " pool add add an existing pool for data placement\n"; cout << " pool rm remove an existing pool from data placement set\n"; cout << " pools list list placement active set\n"; diff --git a/src/test/cli/radosgw-admin/help.t b/src/test/cli/radosgw-admin/help.t index 95146a91ba2..f14f6c65341 100644 --- a/src/test/cli/radosgw-admin/help.t +++ b/src/test/cli/radosgw-admin/help.t @@ -86,6 +86,12 @@ zone placement add add a zone placement target zone placement modify modify a zone placement target zone placement rm remove a zone placement target + metadata sync status get metadata sync status + metadata sync init init metadata sync + metadata sync run run metadata sync + data sync status get data sync status of the specified source zone + data sync init init data sync for the specified source zone + data sync run run data sync for the specified source zone pool add add an existing pool for data placement pool rm remove an existing pool from data placement set pools list list placement active set