]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: connections are always available in Heartbeat::Peer
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 26 Mar 2020 07:03:08 +0000 (15:03 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 15 Jun 2020 13:50:49 +0000 (21:50 +0800)
commit6036953332e5209d8de575ffd15cc9143dffbc1b
tree4548fdb2f489c359f7cb243fce97d8fd35829ce1
parent0a9864dcf6d4692c65b9210a1bc9c8962f98c644
crimson/osd: connections are always available in Heartbeat::Peer

No need to check whether con_front or con_back exists, and it
complicates the internal states of PeerInfo, so remove the related
logic.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/osd/heartbeat.cc