]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async: don't stuck into resetsession/retrysession loop 17276/head
authorHaomai Wang <haomai@xsky.com>
Sun, 27 Aug 2017 05:09:54 +0000 (22:09 -0700)
committerHaomai Wang <haomai@xsky.com>
Sun, 27 Aug 2017 05:09:54 +0000 (22:09 -0700)
commit4be0235d740bb5e846fe015d18192bf9ff0a2037
tree2ecbd87fbeb9922ea93dfdc2b8de4c4267ba094c
parent64dcb9c3d0177816d691f7a44ab7bc2598fa335f
msg/async: don't stuck into resetsession/retrysession loop

if exist connection's connect_seq is zero and state is STANDBY and peer
connection is new, we will reply with RETRYSESSION and make peer connection
incr connect_seq. Then we receive connect.connect_seq==1, but
existing->connect_seq is still zero, so RESETSESSION tag replied.

RESET->RETRY->RESET loop is forever

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/AsyncConnection.cc