mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
Merge pull request #18921 from Leeshine/wip-data-sync-cmd
rgw: add metadata and data sync related cmd into radosgw-admin usage Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
commit
e2d9d81f86
@ -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=<zone>
|
||||
|
||||
Specify the source zone for data sync.
|
||||
|
||||
.. option:: --fix
|
||||
|
||||
Besides checking bucket index, will also fix it.
|
||||
|
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user