-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Wip dang zipper 8 #36798
Wip dang zipper 8 #36798
Conversation
https://pulpito.ceph.com/dang-2020-08-25_14:52:18-rgw-wip-dang-zipper-8-distro-basic-smithi/ That's a lot of failures, but most of them are ragweed. I've verified that every other failure happened before this patch, so it's "clean" as far as that goes. |
65c3811
to
982d02b
Compare
struct req_state rstate(req->cct, &rgw_env, req->get_user(), req->id); | ||
struct req_state *s = &rstate; | ||
struct req_state rstate(req->cct, &rgw_env, req->id); | ||
struct req_state *s = req->get_state(); |
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 rstate
be safely removed now?
virtual int defer_gc(RGWObjectCtx *rctx, RGWBucket* bucket, RGWObject* obj, | ||
optional_yield y) = 0; | ||
virtual const RGWZoneGroup& get_zonegroup() = 0; | ||
virtual int get_zonegroup(const string& id, RGWZoneGroup& zonegroup) = 0; |
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'm not sure how much multisite configuration stuff we're gonna want under the store interface - especially if there's a future where the multisite configuration itself describes what kind of stores get constructed and used. maybe that deserves a separate interface outside of Store? something to think about
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.
Yeah, that may be. I'll start thinking about what that would look like. In the meantime, I'll move these APIs into zipper to help get rid of the ->getRados() calls.
- RGWGetObj and RGWPutObj Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
- zonegroup - obj policy Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
- read_usage Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
982d02b
to
be1e8e6
Compare
Zipper 8 - the zippening!
This has one major feature: it splits the RGWRadosStore into a separate set of files from RGWStore and company. It also has a lot of cleanup, removing API-breaking calls to getRados() and adding missing APIs.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox