]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: do not register lossy client connections 30223/head
authorSage Weil <sage@redhat.com>
Fri, 6 Sep 2019 20:04:11 +0000 (15:04 -0500)
committerSage Weil <sage@redhat.com>
Wed, 25 Sep 2019 15:39:15 +0000 (10:39 -0500)
commitc48a29b9edde3c6d3cd34252d202885e2e064fe0
tree8aade7a2e2dcdd40c22e73fd88e1fa436eadfa24
parent0efec7445ebfb5ada3eda897dcd004d92773961e
msg/async: do not register lossy client connections

If our policy is server + lossy, we do not need to track our incoming
client connections by address.  First, because it doesn't do us any good.
Second, it is nicer if we don't, because we can allow multiple incoming
connections from the same peer addr.

Update a couple of tests: one doesn't apply any more, and the other needs
a different way of getting the just-accepted con ref.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/AsyncConnection.h
src/msg/async/AsyncMessenger.cc
src/msg/async/ProtocolV1.cc
src/msg/async/ProtocolV2.cc
src/test/msgr/test_msgr.cc