]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/Protocol*: bump global_seq when retrying connection
authorSage Weil <sage@redhat.com>
Mon, 7 Jan 2019 14:34:18 +0000 (08:34 -0600)
committerSage Weil <sage@redhat.com>
Thu, 10 Jan 2019 15:33:28 +0000 (09:33 -0600)
commit39e8de2d72e2541323f8ed9d8b68075fcbd02701
tree6a443a96aa868f5c4da9b5c89f4b2cb3ca90def9
parent16264a5171351bfa35696ba83a771f047d3ca04e
msg/async/Protocol*: bump global_seq when retrying connection

In the top connect retry in particular we do not bump connect_seq, so it
is critical that we bump global_seq so that the two connection attempts
are distinguishable at the peer.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/ProtocolV1.cc
src/msg/async/ProtocolV2.cc