]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PGBackend, MOSDPGRecoveryDelete[Reply]: handle incompatible encoding 17584/head
authorJosh Durgin <jdurgin@redhat.com>
Tue, 5 Sep 2017 21:16:57 +0000 (14:16 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 8 Sep 2017 16:24:57 +0000 (12:24 -0400)
commit80d848f069b9c5c97a720972f62bbb8eda1d3573
treee2ee965f18598ac5fbfca5265b6b327d284fc3e7
parent823585311c41729309809690a7df5cb83c4ece12
osd/PGBackend, MOSDPGRecoveryDelete[Reply]: handle incompatible encoding

Handle a pre-luminous encoding without min_epoch for both these
messages.  Bump the header version, so the simple path of inline
decoding works for the future.  For 12.2.0 and pre-luminous, we can
check the SERVER_LUMINOUS flag on the connection to tell which
encoding to use.

This is not a cherry-pick from master since all upgrades must stop at
luminous, and will use the existing encoding before continuing.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/messages/MOSDPGRecoveryDelete.h
src/messages/MOSDPGRecoveryDeleteReply.h