]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: get_zonegroup() uses "default" zonegroup if empty 11207/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 22 Sep 2016 23:03:15 +0000 (16:03 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 22 Sep 2016 23:03:15 +0000 (16:03 -0700)
commit3d7169af3f5eeb6bc8a89ee873ec43f57f206f3a
treef406631a59672cfe84519b99a3e4d7ddc102ba92
parent855208aef834f3fdffea9afaefb08dd43d2c0636
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>
src/rgw/rgw_rados.cc