]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: allow init complete to proceed in case of erroneus zone deletes
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 19 Nov 2018 16:21:15 +0000 (17:21 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 22 Nov 2018 10:53:55 +0000 (11:53 +0100)
commitc0152a59e17c8524ab8baaa01d28b16203416b92
treee279b2fa935765f0c4376f4bcef0ca0ac537fff8
parent432ad6f41378c4b6a8e480ac9340bf37db1853ff
rgw: allow init complete to proceed in case of erroneus zone deletes

Currently a master zone delete in a zonegroup followed by a period commit would
render RGWRados to be unusable, check if the zonegroup is empty and continue
initialization in these cases so that removal can proceed.

Fixes: http://tracker.ceph.com/issues/37328
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 58eb3545e4db2c9208fbc09789b89dd9d2ff7a71)

* src/rgw/services/svc_zone.cc
Changes are made to the same function in  rgw_rados.cc
as the rgw_rados refactor is post mimic
src/rgw/rgw_rados.cc