]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWPeriodPusher shares periods between zones/groups
authorCasey Bodley <cbodley@redhat.com>
Fri, 9 Oct 2015 16:15:05 +0000 (12:15 -0400)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 12 Feb 2016 00:13:35 +0000 (16:13 -0800)
commit22fca7ebd3c29c51559843e175f10dffdc8f01f1
tree8ed08d6a94d9ab9963c09363d5ff23e55f9ad67e
parent9ecd08fd497298f533512f0982da15430c165d95
rgw: RGWPeriodPusher shares periods between zones/groups

RGWPeriodPusher implements the RGWRealmWatcher interface to get
notifications for new periods.  when it discovers that it needs to push
a period to other zones, it spawns a thread to send them (and keep
retrying) until all of those zones successfully acknowledge the period

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/CMakeLists.txt
src/common/config_opts.h
src/rgw/Makefile.am
src/rgw/rgw_period_pusher.cc [new file with mode: 0644]
src/rgw/rgw_period_pusher.h [new file with mode: 0644]
src/rgw/rgw_rados.cc
src/rgw/rgw_realm_watcher.h
src/rgw/rgw_rest_conn.h