Skip to content

Commit

Permalink
Merge pull request ceph#8831 from wjin/clean
Browse files Browse the repository at this point in the history
osd: clean heartbeat dispatch message

Reviewed-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed May 4, 2016
2 parents 748fc66 + f2c0e09 commit 62a4264
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 @@ -5712,13 +5712,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 62a4264

Please sign in to comment.