]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/net: use target_addr to store the address to reconnect
authorYingxin Cheng <yingxin.cheng@intel.com>
Tue, 16 Jul 2019 08:29:30 +0000 (16:29 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 17 Jul 2019 08:37:04 +0000 (16:37 +0800)
commit55bfa18fd132657d3a0b4480ca00e4af1fe16b99
tree79c82ec8569e133ec8f6ea8293b5a7b8e36fa8e4
parent5cbd121c6c927e721ea30e9ad9fab36e234873df
crimson/net: use target_addr to store the address to reconnect

With lossless policy, we will use target_addr to reconnect to peer,
which would be more useful when we switch to entity_addrvec_t.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/ProtocolV1.cc
src/crimson/net/ProtocolV2.cc