]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: move bucket overwrite code to common path
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 7 Jun 2019 22:26:32 +0000 (15:26 -0700)
committerCasey Bodley <cbodley@redhat.com>
Mon, 29 Jul 2019 19:20:48 +0000 (15:20 -0400)
commit15723d5b1594040e799a063df011655de93a0e47
tree18523f391583f56373fc837aa58a0e74acc3fab7
parentc4b4988ca49eb452a529b776c98da0f7c2624109
rgw: move bucket overwrite code to common path

In order to do that needed to make sure we have the old_info
and identify overwrites. Moved the bilog and data log related overwrite
handlers into svc.bucket, and also the bucket meta handler now
implements put_checked() and not using the generic sobj call.

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