]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix transition from full to incremental meta sync
authorCasey Bodley <cbodley@redhat.com>
Fri, 10 Mar 2017 16:25:35 +0000 (11:25 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 10 Mar 2017 16:31:49 +0000 (11:31 -0500)
commit0705cef395f8dc0d73b30ddaac268cc1e6546a30
tree0db948ccaac33d442665a68bb320862f23dcf05f
parent25c2482735fa9ac270ba41e7f090eefb8db83908
rgw: fix transition from full to incremental meta sync

when transitioning to incremental sync, we need to write temp_marker
instead of sync_marker, because temp_marker has replaced the full sync
marker (which is a metadata key, rather than an log marker) with
next_step_marker

this was breaking the metadata checkpoint in test_multi.py, because it
was comparing metadata keys (i.e. 'user:zone.user') against mdlog
markers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_sync.cc