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
Conversation
There was a problem hiding this 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.
fe12967
to
881be6c
Compare
@joscollin done~ |
@joscollin feel free to merge this once you approve |
There was a problem hiding this 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
881be6c
to
fd7e2be
Compare
@joscollin I have fixed the jenkins check error, do you mind to review again? |
There was a problem hiding this 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
fd7e2be
to
74bb827
Compare
@joscollin done~ |
src/rgw/rgw_admin.cc
Outdated
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"; |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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>
74bb827
to
cefa401
Compare
@joscollin done~ |
Signed-off-by: Enming Zhang enming.zhang@umcloud.com