]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0
authorSage Weil <sage@redhat.com>
Thu, 31 Jan 2019 22:52:09 +0000 (16:52 -0600)
committerSage Weil <sage@redhat.com>
Sun, 3 Feb 2019 16:43:40 +0000 (10:43 -0600)
commit51067350ad449548dbed07ad972524794b1722c8
treecb4de8b81863732e27e288996b237a2152c983ac
parente124ad72cfe06ef787266d7a306f931dca28c41d
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0

It's possible the accepting end knows the cookie but the connecting end
does not if the fault happens before it receives server_ident.  If the
next connection attempt is in the other direction, we need to avoid a
reset or the queued messages at the first site will get lost.

Fixes: http://tracker.ceph.com/issues/38118
Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/ProtocolV2.cc