]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrStatMonitor: update availability score after configured interval
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 21 Aug 2025 12:27:52 +0000 (17:57 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Mon, 15 Sep 2025 05:31:34 +0000 (11:01 +0530)
commit5644428f57edcc38167adc52f424f1985fb4d0ab
treec0494f6184521d2ab658031fc6fd6fece3a6f497
parenta8f97fc8ae44a9d37bca16bc013b638d6867ad2a
mon/MgrStatMonitor: update availability score after configured interval

This commit ensures that data availability status is only updated
after the configured interval has elapsed. By default this interval
is setup to be 1s.

Fixes: https://tracker.ceph.com/issues/72619
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
(cherry picked from commit e9e3d90210922f336950d02bedca2f09d4463dfe)
src/mon/MgrStatMonitor.cc
src/mon/MgrStatMonitor.h