]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix build_incremental_map_msg 31236/head
authorSage Weil <sage@redhat.com>
Wed, 13 Feb 2019 21:01:48 +0000 (15:01 -0600)
committerDavid Zafman <dzafman@redhat.com>
Tue, 29 Oct 2019 16:37:03 +0000 (09:37 -0700)
commit1e6eb157bcb368436eb67fe1c847594c9116912e
tree5419f64a01c8d863ecd9e21c8b1fc27ac2bdc1c6
parentaafdd9a7ec3ee645d6e1f150651d03239d9b425a
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>
(cherry picked from commit 57a13adc8d0e34b4bb1a4022eacbb3de2636df53)
src/osd/OSD.cc