Skip to content

Commit

Permalink
osd: clean heartbeat dispatch message
Browse files Browse the repository at this point in the history
this message should never happen in heartbeat messenger.

Signed-off-by: Wei Jin <[email protected]>
  • Loading branch information
wjin committed Apr 29, 2016
1 parent 1eb435f commit f2c0e09
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5719,13 +5719,6 @@ bool OSD::heartbeat_dispatch(Message *m)
handle_osd_ping(static_cast<MOSDPing*>(m));
break;

case CEPH_MSG_OSD_MAP:
{
ConnectionRef self = cluster_messenger->get_loopback_connection();
self->send_message(m);
}
break;

default:
dout(0) << "dropping unexpected message " << *m << " from " << m->get_source_inst() << dendl;
m->put();
Expand Down

0 comments on commit f2c0e09

Please sign in to comment.