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:
Jos Collin 2017-11-15 20:58:58 +05:30 committed by GitHub
commit e2d9d81f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View File

@ -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.

View File

@ -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";

View File

@ -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