]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: multisite log trimming only checks peers that sync from us 27567/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2019 20:30:19 +0000 (16:30 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Apr 2019 20:36:14 +0000 (16:36 -0400)
commit3d52f30e6e11ccc22bce86c8c1e1054c6fdb97a6
tree6126b497c8b976599803d269894b0fefde63cd2d
parentded548953cfcf6a9ee5a078837de59e07edf469a
rgw: multisite log trimming only checks peers that sync from us

if there are peer zones in our zonegroup that do not sync from us, they
won't have any sync status that corresponds to our logs. fetching their
status will give us empty markers, so we'll never make progress with log
trimming

the get_zone_data_notify_to_map() contains only the zones that are
configured to sync from us, so use that instead of get_zone_conn_map()

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