]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/Protocol: send keepalive on connection race winner 25754/head
authorSage Weil <sage@redhat.com>
Wed, 2 Jan 2019 21:59:56 +0000 (15:59 -0600)
committerSage Weil <sage@redhat.com>
Fri, 4 Jan 2019 19:46:47 +0000 (13:46 -0600)
commit4af95fc8474a5131b17880498f2f8d20b9932d45
tree4483de5c856eb85a021e83d9b28e708e9c17b803
parent251f667ef8d39cfcef3aab853afda72d8d91ef60
msg/async/Protocol: send keepalive on connection race winner

If we win a connection race, we could still hit a fault before we finish
connecting, and then go into standby.  Ensure that we fully connect so that
we can send our keepalive and the other end is able to send their whatever
to us.

Fixes: http://tracker.ceph.com/issues/37779
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/ProtocolV1.cc
src/msg/async/ProtocolV2.cc