-
Notifications
You must be signed in to change notification settings - Fork 262
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/admin: parse more fields by bucket struct #1068
Conversation
@anoopcs9 @phlogistonjohn Can you please take a look? |
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.
Seems OK on first glance, but I'm not too knowledgeable about RGW. What would fill me with confidence would be a unit test or two :-)
52eaac5
to
0c4d6cc
Compare
Thanks for adding a test! The general strucutre looks good but there's something about it failing on the older versions FWIW. |
I tried to skip the tests for versions doesn't support reporting versioning and object lock with
Not sure what is the best way to skip them. @phlogistonjohn Do you have any idea? |
Would something along these lines work for your use case?
|
@phlogistonjohn I was skipping the whole suite. Now it should be fixed. Can you take another look? |
@Mergifyio rebase |
✅ Branch has been successfully rebased |
07eec9c
to
1385eff
Compare
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.
Generally, lgtm but I want a 2nd pair of eyes on this because rgw is my weakest area in the codebase.
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.
Can we have the subject for commit messages updated to include a /
to read rgw/admin: xx
?
Also are we in agreement to close #1058 once the current set of changes gets merged?
Signed-off-by: Seena Fallah <[email protected]>
Pull request has been modified.
Signed-off-by: Seena Fallah <[email protected]>
Signed-off-by: Seena Fallah <[email protected]>
@anoopcs9 Can you please take another look? |
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.
lgtm, thanks.
The bucket's versioning information and ObjectLock status are now accessible by the Bucket struct.
Checklist
//go:build ceph_preview
make api-update
to record new APIs