]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: store realm epoch with sync status markers
authorCasey Bodley <cbodley@redhat.com>
Fri, 17 Mar 2017 13:55:47 +0000 (09:55 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 26 Apr 2017 12:51:02 +0000 (08:51 -0400)
commit574ff5f5df62a0a1e9a8ff7e4a87cd65cc952d7e
treeea29976751ab1454e3d3721df83131543206bf37
parenta898fb76a4179add68ccb526f2917768736ac52b
rgw: store realm epoch with sync status markers

sync status markers can't be compared between periods, so we need to
record the current period's realm epoch with its markers. when the
rgw_meta_sync_info.realm_epoch is more recent than the marker's
realm_epoch, we must treat the marker as empty

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