]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
AsyncConnection: using send_keepalive instead of _send_keepalive_or_ack
authorHaomai Wang <haomaiwang@gmail.com>
Thu, 8 Jan 2015 02:35:58 +0000 (10:35 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Thu, 15 Jan 2015 19:07:10 +0000 (03:07 +0800)
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/msg/async/AsyncConnection.cc

index 0e3fb5dda6bbb396b8b776cf8310d1c1c0d1fc03..9c0f4bd2dc224ae0fb3fec8ddb434986bcf94dc2 100644 (file)
@@ -1581,7 +1581,7 @@ int AsyncConnection::handle_connect_msg(ceph_msg_connect &connect, bufferlist &a
                             << " == " << connect.connect_seq << ", sending WAIT" << dendl;
         assert(peer_addr > async_msgr->get_myaddr());
         // make sure our outgoing connection will follow through
-        existing->_send_keepalive_or_ack();
+        existing->send_keepalive();
         return _reply_accept(CEPH_MSGR_TAG_WAIT, connect, reply, authorizer_reply);
       }
     }