]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: delete region map after upgrade to zonegroup map 10831/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 Aug 2016 19:10:44 +0000 (15:10 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 23 Aug 2016 19:10:46 +0000 (15:10 -0400)
commit215cd6f6ff7b8cb74df6dc3b94a5928f56ab9540
tree1fed493bdbc5e6da1d425bb2fc591371e63d87e5
parent537cbb380b3811b3a5006974a5ec5e9038308354
rgw: delete region map after upgrade to zonegroup map

convert_regionmap() reads the region map and uses it to initialize the
zonegroup map.  but it doesn't remove the region_map afterwards, so
radosgw (and some radosgw-admin commands) will keep doing this on
startup, overwriting any changes made to the period/zonegroup map

Fixes: http://tracker.ceph.com/issues/17051
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc