]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
MDSMonitor: promote standby after fs creation
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 4 May 2018 17:11:10 +0000 (10:11 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 8 May 2018 16:05:59 +0000 (09:05 -0700)
commit79e7fe4ab147cf49a96aae4240172450fecfeedc
tree5484c527fb7ac25a9b1fee592c7a24e42fcec7e2
parent11e2479146c854b53eb259c8b395ab7a4ff3cbb2
MDSMonitor: promote standby after fs creation

This avoids unnecessary health warnings. However, the original issue in i23885
still exists because the standbys are not available at fs creation time. If you
create a new file system after these standbys are available, then you will
observe that the promotion works to silence the warnings.

Fixes: http://tracker.ceph.com/issues/23885
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 93bc8c53ef51bf4fbaafad0c2d1ad79dbff8eb8b)
src/mds/FSMap.cc
src/mds/FSMap.h
src/mon/FSCommands.cc
src/vstart.sh