]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: delete region map after upgrade to zonegroup map 10890/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 Aug 2016 19:10:44 +0000 (15:10 -0400)
committerLoic Dachary <ldachary@redhat.com>
Fri, 26 Aug 2016 07:05:21 +0000 (09:05 +0200)
commit23d73dca4e8fd9472b8e39d9219fda90323478fb
treeaf96e3e6ae6961a3b248cf2e7b8bba6e4f8f0d76
parentfe23c2edc70d1ad15e640195570e624b31415aef
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>
(cherry picked from commit 215cd6f6ff7b8cb74df6dc3b94a5928f56ab9540)
src/rgw/rgw_rados.cc