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

Wip dang zipper 8 #36798

Merged
merged 9 commits into from
Sep 10, 2020
Merged

Wip dang zipper 8 #36798

merged 9 commits into from
Sep 10, 2020

Conversation

dang
Copy link
Contributor

@dang dang commented Aug 25, 2020

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

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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

@dang
Copy link
Contributor Author

dang commented Aug 26, 2020

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.

@dang dang force-pushed the wip-dang-zipper-8 branch 2 times, most recently from 65c3811 to 982d02b Compare September 4, 2020 16:20
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();
Copy link
Contributor

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;
Copy link
Contributor

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

Copy link
Contributor Author

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>
@dang
Copy link
Contributor Author

dang commented Sep 10, 2020

@dang dang merged commit 0c37322 into ceph:master Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants