]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: get_zonegroup() uses "default" zonegroup if empty 11863/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 22 Sep 2016 23:03:15 +0000 (16:03 -0700)
committerLoic Dachary <ldachary@redhat.com>
Wed, 9 Nov 2016 14:19:54 +0000 (15:19 +0100)
commit3c5689254e0e3f7f4298c01fe17763335038f402
tree881faa4237c60223a431439109ec546c8d471044
parent0c38c464fff2280a6345b470f1c83aa6229776cc
rgw: get_zonegroup() uses "default" zonegroup if empty

Fixes: http://tracker.ceph.com/issues/17372
An empty zonegroup should be replaced with the "default" zonegroup.
This is needed when dealing with zonegroup set in old bucket info,
that predated setting the buckets' region.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 3d7169af3f5eeb6bc8a89ee873ec43f57f206f3a)
src/rgw/rgw_rados.cc