]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: only share maps on hb connection of OSD_HBMSGS feature is set
authorSage Weil <sage@inktank.com>
Tue, 12 Feb 2013 22:11:09 +0000 (14:11 -0800)
committerSage Weil <sage@inktank.com>
Tue, 12 Feb 2013 22:11:09 +0000 (14:11 -0800)
commit302b26ff70ee5539da3dcb2e5614e2b7e83b9dcd
tree4ba2a6c68a583d13a688330dce163418add9f89a
parentafda30aeaae0a65f83c6886658354ad2b57c4c43
osd: only share maps on hb connection of OSD_HBMSGS feature is set

Back in 1bc419a7affb056540ba8f9b332b6ff9380b37af we started sharing maps
with dead osds via the heartbeat connection, but old code will crash on an
unexpected message.  Only do this if the OSD_HBMSGS feature is present.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc