]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MOSDPGLog: encode epoch for query_epoch for pre-nautilus OSDs 22501/head
authorSage Weil <sage@redhat.com>
Mon, 11 Jun 2018 02:41:54 +0000 (21:41 -0500)
committerSage Weil <sage@redhat.com>
Mon, 11 Jun 2018 02:41:54 +0000 (21:41 -0500)
commit168e20ab8b8da3a5aed41b73f9627d10971be67b
treeb194f169ebd00e58fb522e24191665cad88a51d3
parent9154a392b08f4eb0fd27de84fbb31c46f78b4659
messages/MOSDPGLog: encode epoch for query_epoch for pre-nautilus OSDs

This fix is analogous to d5a3ae6008e4399b336f3a72d8dee328f97a0002.  As of
84a1984b7cb70c74eaf517ffc424228fa954ed37 we set query_epoch to a lower
value reliably, but we need to encode the latest epoch for pre-nautilus
OSDs because they do not set last_peering_epoch reliably and havin a lower
query_epoch will cause them to discard this message.

Signed-off-by: Sage Weil <sage@redhat.com>
src/messages/MOSDPGLog.h