]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fixes for period puller 10596/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 5 Aug 2016 15:28:13 +0000 (11:28 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 5 Aug 2016 15:40:40 +0000 (11:40 -0400)
commit06c384f1c5aa5b4b6404a3caf8a5f88ee40b0b03
tree5f85be485d2f57ffaab40d2f2a8325fed472f201
parent367cb8407b19a84c6afbfdbe6a1f40f2363a08f9
rgw: fixes for period puller

* reset epoch=0 before RGWPeriod::init() so we get the latest_epoch
* if we're the metadata master, don't try to pull periods from ourself

Fixes: http://tracker.ceph.com/issues/16939
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_period_puller.cc