]> git.apps.os.sepia.ceph.com Git - ceph-ci.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>
Sat, 5 May 2018 11:04:20 +0000 (19:04 +0800)
commit5a45110785bc6d3c975f6bd56750bb50cd9b1820
tree8488d543aea7bcc5c62a1dd775e0403b736a1e23
parenta8ed81ff053652455717194f202231ea6a466155
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>
(cherry picked from commit bae47183c2621577ba564d29c82a0517ab8a7f54)
src/mgr/MgrClient.cc
src/mgr/MgrClient.h