]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MonClient: request monmap on open instead of ping
authorSage Weil <sage@redhat.com>
Fri, 1 Feb 2019 17:09:42 +0000 (11:09 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 18:10:34 +0000 (12:10 -0600)
commite48301c5cff2c7733f619880ba81a8e5eab810e8
tree179679d81eee168e2c0f87bf675f879eed67cc9e
parent4a7aca7737e84a667e77bcf52ea5c53c28ef1231
mon/MonClient: request monmap on open instead of ping

The ping is useless.  The MMonGetMap ensures we get a monmap (and finish
authenticate()) before we get any other maps/messages, like mgr_map.
Getting other maps sooner rather than later can be confuse to MonClient
users because they will get dispatched MMgrMap before the authenticate()
call has returned.

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