]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: fix build_incremental_map_msg
authorSage Weil <sage@redhat.com>
Wed, 13 Feb 2019 21:01:48 +0000 (15:01 -0600)
committerSage Weil <sage@redhat.com>
Wed, 13 Feb 2019 21:11:07 +0000 (15:11 -0600)
commit57a13adc8d0e34b4bb1a4022eacbb3de2636df53
tree7417f9b36bccccdc90ace519a358ab990df5ca9b
parent7a35cda175049adc6b2a9921afb2b6b9d3332dd4
osd: fix build_incremental_map_msg

We need to fall back to an old map if since (the peer's epoch) is *older*
than our oldest.  If it's newer, we have it, and can just send
incrementals.

Fixes: http://tracker.ceph.com/issues/38282
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc