]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/HealthMonitor: avoid MON_DOWN for freshly added Monitor 67324/head
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 19 Nov 2025 23:16:21 +0000 (18:16 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 18 Mar 2026 00:34:06 +0000 (20:34 -0400)
commit0001004e3abc01881e0300c458e61c66ac2af2f7
tree439ade876595d1be12f5cc676e97a280b61fb088
parent48ecc59c5309e793e5547804778d1affa87d8b4b
mon/HealthMonitor: avoid MON_DOWN for freshly added Monitor

In testing, we often have the scenario where cephadm has created a
cluster but doesn't add more monitors until well past
mon_down_mkfs_grace. This causes useless MON_DOWN warnings to be thrown
which fails QA jobs. Avoid this situation entirely by giving a
reasonable grace period for a monitor added to the MonMap to join
quorum.

Fixes: https://tracker.ceph.com/issues/73934
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
(cherry picked from commit b028a41e1f000b87aab3f263ab3259a0ca439555)
src/common/options/mon.yaml.in
src/mon/HealthMonitor.cc