]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add exclusive flag to RGWRealm::create_control
authorCasey Bodley <cbodley@redhat.com>
Thu, 31 Mar 2016 16:16:08 +0000 (12:16 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 1 Apr 2016 16:01:24 +0000 (12:01 -0400)
commit7567b45fc08c5d9c18d4117440c863189e43fdb6
tree9ec6e4a567df504270bc7aa50bc7ca3fc2adb78c
parent1f3aad6b1010de5f463fac0eae0501bd2cc8617e
rgw: add exclusive flag to RGWRealm::create_control

this was causing failures in 'radosgw-admin realm pull':

  ERROR creating control for new realm realm0: (17) File exists

'realm pull' calls RGWRealm::create() with exclusive=false, but
RGWRealm::create_control() was using exclusive=true

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h