]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/MgrClient: add mgr_optional mode
authorJohn Spray <john.spray@redhat.com>
Mon, 30 Apr 2018 13:32:43 +0000 (09:32 -0400)
committerKefu Chai <kchai@redhat.com>
Fri, 4 May 2018 08:39:17 +0000 (16:39 +0800)
commitbae47183c2621577ba564d29c82a0517ab8a7f54
tree041b9acd0c583d2cecfe101c582ff656552f327e
parent5eb2a2b10a839dcc72dbc16c6f66898fe5bede13
mgr/MgrClient: add mgr_optional mode

This is for use when talking to pre-luminous
clusters, where we should not block waiting
for MgrMap because it might never come.

Fixes: https://tracker.ceph.com/issues/23627
Signed-off-by: John Spray <john.spray@redhat.com>
src/mgr/MgrClient.cc
src/mgr/MgrClient.h