]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: archive: rework bucket removal
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 14 Nov 2018 21:44:25 +0000 (13:44 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 24 Jan 2019 04:19:02 +0000 (20:19 -0800)
commitd40d95bdbfbd70c59ea7d93a4ebf60161c6d8f12
treea3fe6889bc8b3c99bd518ed3d2b95bc16c6496b3
parentb08d84b80adaf6c7a02aa1a42f27857fbb38486d
rgw: archive: rework bucket removal

Keep reference to the original bucket in the new bucket instance object,
so that if a new bucket is created with the same name, we can generate
a name off the original name. Things could be much simpler if we could
just point a new bucket entrypoint at the old bucket entrypoint, but
we can't have (at the moment) bucket entrypoint that points at a bucket
instance with a different bucket name.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_bucket.cc