]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MgrStatMonitor.cc: do not update score when disabled
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 22 May 2025 08:20:57 +0000 (13:50 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Thu, 12 Jun 2025 10:49:50 +0000 (16:19 +0530)
commit017c9b9f4fa0d3286d52b7acb7df912327b1f836
treeab42768bc5b37344d832b4cc61d5cdd47beb85c5
parent9ccef704550148b63f973ce69ab2147f7a162ba4
mon/MgrStatMonitor.cc: do not update score when disabled

This commit adds changes to ensure the availability score
tracking is not updated when the feature is disabled. We
will preserve the score calculated before the feature is
turned off and start updating it again when the feature
is enabled.

Fixes: https://tracker.ceph.com/issues/71494
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
src/mon/MgrStatMonitor.cc
src/mon/OSDMonitor.cc