]> 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 14766/head
authorweiqiaomiao <wei.qiaomiao@zte.com.cn>
Tue, 6 Sep 2016 08:34:52 +0000 (16:34 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 25 Apr 2017 06:58:11 +0000 (08:58 +0200)
commitc49b114e8dde6c3f3c5a5b663bd8299b4f2feafb
treee65c1f74ca5783c151c76522e35445b8b0432261
parent82b8c89e477610641a6e21123b7c929e9c560729
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>
(cherry picked from commit 949af79b21098e6410bc29274cf36eae2d89faea)

Conflicts:
        src/rgw/rgw_rados.cc - retain d32654b7cd60ccc4e23d3f05b9e4385a697bacd6
            which was merged after this commit
src/rgw/rgw_rados.cc