]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/net: notify if the connection is to be replaced during reset
authorYingxin Cheng <yingxin.cheng@intel.com>
Sun, 29 Mar 2020 11:17:52 +0000 (19:17 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 1 Apr 2020 03:43:00 +0000 (11:43 +0800)
commitf8259a5e90fee7650df52db94ffa336bf94dc1d9
treefe8001c245936e4f7fa51fb44f1b3338e4fae709
parent2c77d580c537be4ef5ef0dcefcf41044dc7b6d9f
crimson/net: notify if the connection is to be replaced during reset

is_replace=true means the reset connection is going to be replaced by
another accepting connection with the same peer_addr, which currently
only happens under lossy policy when both sides wish to connect to each
other.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
14 files changed:
src/crimson/mgr/client.cc
src/crimson/mgr/client.h
src/crimson/mon/MonClient.cc
src/crimson/mon/MonClient.h
src/crimson/net/Dispatcher.h
src/crimson/net/Protocol.cc
src/crimson/net/ProtocolV2.cc
src/crimson/osd/chained_dispatchers.cc
src/crimson/osd/chained_dispatchers.h
src/crimson/osd/heartbeat.cc
src/crimson/osd/heartbeat.h
src/crimson/osd/osd.cc
src/crimson/osd/osd.h
src/test/crimson/test_messenger.cc