]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/Session: separate session creation, peer ident, and registration
authorSage Weil <sage@redhat.com>
Sun, 20 Jan 2019 23:09:56 +0000 (17:09 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 12:53:03 +0000 (06:53 -0600)
commitc1aacdd85e04b7b69e1013d8bb378e6cf2f8502c
tree15cb8616304f353a8b338dec647e4910b64ae4fe
parent6663d17ad773c49841626ec57157239aa515ec39
mon/Session: separate session creation, peer ident, and registration

- We can now construct a session before we know who it is
- We can later call _ident to identify it
- and also later register it in the session map

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/Monitor.cc
src/mon/Session.h