]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: only induce mgr epoch shortly after mkfs 16356/head
authorSage Weil <sage@redhat.com>
Sun, 16 Jul 2017 18:47:44 +0000 (14:47 -0400)
committerSage Weil <sage@redhat.com>
Sun, 16 Jul 2017 18:47:44 +0000 (14:47 -0400)
commit1e50fb494cecfc63ab526d9acc490086535e38d2
treecb9f94daf24c05e7544295db76828c9ef620782d
parent171104cb931b6dbaf0e82f1738d951db812ffb2e
mon/MgrMonitor: only induce mgr epoch shortly after mkfs

For early clusters, if there isn't an active manager, we eventually want
to trigger a health warning by rolling over the mgrmap epoch.  We don't
want to do that if we have no active/available manager after that.  Fix
by checking ever_had_active_mgr here.

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