]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: support partial mesh for zone sync
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 26 Aug 2016 21:09:00 +0000 (14:09 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 7 Oct 2016 17:31:27 +0000 (10:31 -0700)
commit8bd26428ab710029221cd5eeae3f244dc9dcf250
treef6fd2dda0e6098fe6c81a9795cb25047272d3e78
parent61902f724dbbe04bf3306aef485bc4fb17236f87
rgw: support partial mesh for zone sync

zone configuration now includes two new fields: sync_from_all
which is boolean, and sync_from, which is a least of zones to
sync from. By default sync_from_all is set to true. Sync will
only happen from all the zones, or from the specified zones if
sync_from all is false. We also check to see whether zone can
export data (depending on tier_type).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_json_enc.cc
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h