]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: ping both front and back interfaces 312/head
authorSage Weil <sage@inktank.com>
Wed, 22 May 2013 15:44:52 +0000 (08:44 -0700)
committerSage Weil <sage@inktank.com>
Wed, 22 May 2013 23:13:37 +0000 (16:13 -0700)
commit27381c0c6259ac89f5f9c592b4bfb585937a1cfc
tree29e50e07a7ee4a4670036e7fa371b9ad7ee4849d
parent92a558bf0e5fee6d5250e1085427bff22fe4bbe4
osd: ping both front and back interfaces

Send ping requests to both the front and back hb addrs for peer osds.  If
the front hb addr is not present, do not send it and interpret a reply
as coming from both.  This handles the transition from old to new OSDs
seamlessly.

Note both the front and back rx times.  Both need to be up to date in order
for the peer to be healthy.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Message.h
src/osd/OSD.cc
src/osd/OSD.h