]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix failed to create bucket if a non-master zonegroup has a single zone 10991/head
authorweiqiaomiao <wei.qiaomiao@zte.com.cn>
Tue, 6 Sep 2016 08:34:52 +0000 (16:34 +0800)
committerweiqiaomiao <wei.qiaomiao@zte.com.cn>
Tue, 6 Sep 2016 09:08:53 +0000 (17:08 +0800)
commit949af79b21098e6410bc29274cf36eae2d89faea
tree67a7fa50e89cd46b562863f60cc8cd92e6188335
parent483ea7dcacc176aace88080d7495c47e99788eda
rgw: fix failed to create bucket if a non-master zonegroup has a single zone

If a non-master zonegroup has a single zone, the metadata sync thread not running and
the non-master zonegroup can't sync user from master zonegroup,
so we can't create bucket(or other metadata update) in it
because the authenticated user not found in the zone of non-master zonegroup.

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
src/rgw/rgw_rados.cc