]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: svc.mdlog: init oldest log period only if we're syncing
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 3 Jul 2019 17:56:43 +0000 (10:56 -0700)
committerCasey Bodley <cbodley@redhat.com>
Mon, 29 Jul 2019 19:20:50 +0000 (15:20 -0400)
commit965b48e8d137334412e83c514a61fa5d37577d47
treec035f202c78c065cb73b2f87d9caa413dc2a405a
parentf9c1f6939b25a05dcd9236e2a0f15ad9e157f4f2
rgw: svc.mdlog: init oldest log period only if we're syncing

Need to diffrerentiate between need to sync and actually syncing. Zone might need
to sync, but we're running in radosgw-admin and we don't actually sync.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc
src/rgw/rgw_rest_log.cc
src/rgw/rgw_service.cc
src/rgw/rgw_service.h
src/rgw/rgw_sync.cc
src/rgw/services/svc_mdlog.cc
src/rgw/services/svc_mdlog.h