]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: allow a MON_DOWN grace period after cluster mkfs 48558/head
authorSage Weil <sage@newdream.net>
Thu, 15 Jul 2021 20:17:23 +0000 (15:17 -0500)
committerLaura Flores <lflores@redhat.com>
Wed, 19 Oct 2022 21:20:15 +0000 (21:20 +0000)
commitb40a33d208ffb1b053588cea93aa965566acb086
tree5ea8c24a1b60639f0ceded043ce3a173a2a3935b
parent5adef2e8d1520101ed94a61e7aef9648a7e950d8
mon: allow a MON_DOWN grace period after cluster mkfs

During teuthology tests, the initial cluster bootstrap often starts up
the mon sbut doesn't include all mons in the initial quorum, due to
mon startup misalignment and random delays.  Provide a short grace period
where we will not raise a MON_DOWN alert even though the quorum is not
complete.

Fixes: https://tracker.ceph.com/issues/43584
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit eee041f2f070b88b01d45c04624872681dd158be)

 Conflicts:
src/common/options/mon.yaml.in
In Pacific, options are in `src/common/options.cc`.
src/common/options.cc
src/mon/HealthMonitor.cc