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: Zipper - zonegroup, placement tier #45623

Merged
merged 1 commit into from Apr 26, 2022
Merged

Conversation

dang
Copy link
Contributor

@dang dang commented Mar 24, 2022

Add ZoneGroup and PlacementTier to the Zipper API. This cleaned up a
lot of issues in the Module branch.

In addition, add cloud transition.

Signed-off-by: Daniel Gryniewicz dang@redhat.com

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
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 dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@github-actions
Copy link

github-actions bot commented Apr 7, 2022

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

src/rgw/rgw_sal_dbstore.h Outdated Show resolved Hide resolved
src/rgw/rgw_sal_motr.cc Outdated Show resolved Hide resolved
@dang
Copy link
Contributor Author

dang commented Apr 12, 2022

jenkins test api

src/rgw/rgw_sal.cc Show resolved Hide resolved
src/rgw/rgw_sal.cc Outdated Show resolved Hide resolved
src/rgw/rgw_sal_dbstore.h Show resolved Hide resolved
@dang
Copy link
Contributor Author

dang commented Apr 20, 2022

This fixes dbstore, which I inadvertently broke.

Add ZoneGroup and PlacementTier to the Zipper API.  This cleaned up a
lot of issues in the Module branch.

In addition, add cloud transition.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
@dang
Copy link
Contributor Author

dang commented Apr 26, 2022

@cbodley Is this good to go now?

Comment on lines +669 to +677
std::unique_ptr<RGWRealmReloader> reloader;
std::unique_ptr<RGWPeriodPusher> pusher;
std::unique_ptr<RGWFrontendPauser> pauser;
std::unique_ptr<RGWRealmWatcher> realm_watcher;
if (store->get_name() == "rados") {
// add a watcher to respond to realm configuration changes
pusher = std::make_unique<RGWPeriodPusher>(&dp, store, null_yield);
pauser = std::make_unique<RGWFrontendPauser>(fes, implicit_tenant_context, pusher.get());
reloader = std::make_unique<RGWRealmReloader>(store, service_map_meta, pauser.get());
Copy link
Contributor

@cbodley cbodley Apr 26, 2022

Choose a reason for hiding this comment

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

i like std::optional for conditional or deferred initialization, but this looks correct now 👍

(here during startup, it doesn't make much difference whether or not we allocate for unique_ptr)

@dang dang merged commit c60a9c7 into ceph:master Apr 26, 2022
@dang dang deleted the wip-dang-zipper-objctx branch April 26, 2022 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants