]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: data sync checks empty next_marker for datalog 27299/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 29 Mar 2019 14:27:56 +0000 (10:27 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 1 Apr 2019 17:07:28 +0000 (13:07 -0400)
commita537029a6574359115c505857336f9b04ff19352
treeac7f5c02866e7d365dca65fd4c476cc6de459902
parente5150777ad04869959974ea9e2bf0e74e282762b
rgw: data sync checks empty next_marker for datalog

RGWReadRemoteDataLogShardCR tracks the marker and next_marker
separately, because next_marker will be empty when it reaches the end

this allows RGWDataSyncShardCR to avoid clearing its sync_marker and
restarting datalog listing from the beginning

Fixes: http://tracker.ceph.com/issues/39033
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2ff63778342282ab5c676529f6e7d90f30e6da1a)

Conflicts:
src/rgw/rgw_data_sync.cc: no sync tracing
src/rgw/rgw_data_sync.cc