Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: add rewrite cmd and options into radosgw-admin usage and doc #18918

Merged
merged 1 commit into from Nov 16, 2017

Conversation

ZVampirEM77
Copy link
Contributor

  • radosgw-admin object rewrite
  • radosgw-admin bucket rewrite
  • --min-rewrite-size
  • --max-rewrite-size
  • --min-rewrite-stripe-size

Signed-off-by: Enming Zhang enming.zhang@umcloud.com

@ZVampirEM77
Copy link
Contributor Author

@yehudasa @cbodley please review this pr~

Copy link
Member

@joscollin joscollin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs src/test/cli/radosgw-admin/help.t update for jenkins to pass.

@ZVampirEM77
Copy link
Contributor Author

@joscollin done~

@cbodley
Copy link
Contributor

cbodley commented Nov 14, 2017

@joscollin feel free to merge this once you approve

Copy link
Member

@joscollin joscollin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/cli/radosgw-admin/help.t: failed

@ZVampirEM77
Copy link
Contributor Author

@joscollin I have fixed the jenkins check error, do you mind to review again?

Copy link
Member

@joscollin joscollin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest the doc update along with this PR.
https://github.com/ceph/ceph/blob/master/doc/man/8/radosgw-admin.rst

By the way, there is another PR in progress that updates the other bucket * commands:
#18267

@ZVampirEM77
Copy link
Contributor Author

@joscollin done~

@joscollin joscollin changed the title rgw: add rewrite related cmd and parameter into radosgw-admin help info rgw: update rewrite cmd and options into radosgw-admin usage and doc Nov 15, 2017
cout << " --max-rewrite-size specify the max object size condition for bucket rewrite (default ULLONG_MAX)\n";
cout << " --min-rewrite-stripe-size specify the min stripe size condition for object rewrite,\n";
cout << " default value is set to 0, in that case the specified object\n";
cout << " will always be rewritten for restriping\n";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usage is a shorter version of the actual description in the doc. So I think this can be shortened as
specify the min stripe size condition for object rewrite (default 0). What do you say ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, good idea!

+ radosgw-admin object rewrite
+ radosgw-admin bucket rewrite
+ --min-rewrite-size
+ --max-rewrite-size
+ --min-rewrite-stripe-size

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
@ZVampirEM77
Copy link
Contributor Author

@joscollin done~

@joscollin joscollin changed the title rgw: update rewrite cmd and options into radosgw-admin usage and doc rgw: add rewrite cmd and options into radosgw-admin usage and doc Nov 16, 2017
@joscollin joscollin merged commit 407238a into ceph:master Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants