]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/Protocol*: unregister con from accept vs mark_down race
authorSage Weil <sage@redhat.com>
Wed, 2 Jan 2019 19:04:14 +0000 (13:04 -0600)
committerSage Weil <sage@redhat.com>
Fri, 4 Jan 2019 19:43:58 +0000 (13:43 -0600)
commit16264a5171351bfa35696ba83a771f047d3ca04e
treec9d2d52161895fe4362ed1a1f38541735885f5b2
parent251f667ef8d39cfcef3aab853afda72d8d91ef60
msg/async/Protocol*: unregister con from accept vs mark_down race

If we are accepting a connection and it gets marked down while we are
working on it, unregister it. Otherwise, we leave teh connection CLOSED
and registered and it interferes with the ability to open a new connection.

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