]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/ProtocolV2: include entity_name, features in reconnect
authorSage Weil <sage@redhat.com>
Wed, 6 Feb 2019 03:41:14 +0000 (21:41 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 18:10:34 +0000 (12:10 -0600)
commit91a888ecb46aae4119eb38214cc7b86c86aab6bc
tree8928c57393fdf9d71de8e41c15dff8659f57fedb
parent5d84f119348f20aaed661b1e80f6ba402c10eb04
msg/async/ProtocolV2: include entity_name, features in reconnect

- A connects to B
- A sends client_ident
- fault before A gets server_ident, so A doesn't know B's features or name
- B reconnects to A
- connection established

A thinks B is unknown.0 and has not idea what the featurs are.

Fix this by including id and featurs in reconnect.  We don't know the type, but that is
included in TAG_HELLO in another branch, which will be merged separately; add a

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