]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/async: don't kill connection if replacing 17288/head
authorHaomai Wang <haomai@xsky.com>
Sun, 27 Aug 2017 20:37:18 +0000 (13:37 -0700)
committerHaomai Wang <haomai@xsky.com>
Sun, 27 Aug 2017 20:39:35 +0000 (13:39 -0700)
commitdf6684b0ca24d51e2cee577d4922fedaf54f3989
tree829ebc74991c5b30410d15e34b29525680be7162
parent64dcb9c3d0177816d691f7a44ab7bc2598fa335f
msg/async: don't kill connection if replacing

when existing connection is replacing, then meet send error, we can't kill
this existing connection. otherwise, when peer side reconnect, we will detect
reset condition and send resetsession to make peer discard messages.

Fixes: http://tracker.ceph.com/issues/21143
Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/AsyncConnection.cc