]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
MDSMonitor: promote standby after fs creation 21810/head
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 4 May 2018 17:11:10 +0000 (10:11 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 4 May 2018 18:01:09 +0000 (11:01 -0700)
commit93bc8c53ef51bf4fbaafad0c2d1ad79dbff8eb8b
tree3d08b5cc875c96236e4c8e814b1e366d7aaca7c4
parentad75128c8e1011e3f8d17405a11fad97506d74a0
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>
src/mds/FSMap.cc
src/mds/FSMap.h
src/mon/FSCommands.cc
src/vstart.sh