]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MOSDMap: reencode maps if target doesn't have OSDMAP_ENC 1126/head
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 22 Jan 2014 15:33:39 +0000 (17:33 +0200)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 22 Jan 2014 15:34:31 +0000 (17:34 +0200)
commit8060afd77cfcdda0c6e83b0674343772793c1abe
treef3b148295d2db05e43a448304582f1d0a20e321e
parent54caa0192b02b03549fe4ca5d062495e6e429f97
MOSDMap: reencode maps if target doesn't have OSDMAP_ENC

Reencode both full and incremental maps if target doesn't know how to
decode OSDMAP_ENC maps (CEPH_FEATURE_OSDMAP_ENC bit is not set).  This
fixes a compatibility bug that was introduced in 3d7c69fb0986 ("OSDMap:
add a CEPH_FEATURE_OSDMAP_ENC feature, and use new encoding").

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
src/messages/MOSDMap.h