]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async: identify client using any: addr
authorSage Weil <sage@redhat.com>
Mon, 28 Jan 2019 08:15:23 +0000 (02:15 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 12:12:43 +0000 (06:12 -0600)
commitdb320dd096a1d15d47e14f4c8021d3f0074b0690
treed1b97d4266223dddffd84bc6a28f35897fa29425
parent299f2e66295459036c69004b6367301d80738454
msg/async: identify client using any: addr

The client can speak v1 or v2, so it is misleading to identify it with a v1 or v2
address (it is either).  This avoid some kludgey workarounds.

We also are a bit more precise about what target_addr means.  It is only used by
the client to indicate which of the peer_addrs we are connecting to, or by a
peer to identify which the peer_addrs we *would* reconnect to.

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