]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages: MForward: fix compat version 2083/head
authorJoao Eduardo Luis <joao.luis@inktank.com>
Tue, 8 Jul 2014 15:46:27 +0000 (16:46 +0100)
committerJoao Eduardo Luis <jeclui@gmail.com>
Tue, 8 Jul 2014 16:42:53 +0000 (17:42 +0100)
commit4733178c3a8f57c54196f176b20154415783dba0
treedc24b890b4b1eedf64c70f2852e4590d1b8befae
parentb81a2777aea636ffe544e737cd8e17dc892ba328
messages: MForward: fix compat version

A while ago we bumped the head version and reset the compat version to 0.
Doing this so happens to make the messenger assume that the message does
not support the compat versioning and sets the compat version to the head
version -- thus making compat = 2 when it should have been 1.

The nasty side-effect of this is that upgrading from emperor to firefly
will have emperor-leaders being unable to decode forwarded messages from
firefly-peons.

Fixes: #8727
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
(cherry picked from commit c92feebb81f90344a085f8256f0ed03cdc2f14e1)
src/messages/MForward.h