]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/HealthMonitor: avoid MON_DOWN for freshly added Monitor
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 19 Nov 2025 23:16:21 +0000 (18:16 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 25 Nov 2025 15:55:34 +0000 (10:55 -0500)
commitb028a41e1f000b87aab3f263ab3259a0ca439555
tree98dd8569d7995db3864e277791d4dc81e61edd10
parentc5b43e9b2765ff98419c649a5ae53ec16601975d
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>
src/common/options/mon.yaml.in
src/mon/HealthMonitor.cc