]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: add command osd pool clear-availability-status
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Wed, 28 May 2025 05:56:26 +0000 (11:26 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Mon, 23 Jun 2025 06:30:10 +0000 (12:00 +0530)
commitf6aed0b45efc60a8ca81bd3455c14a13106dd3c9
tree50b7e04c4ad75b490efc66f5a6442ea4a2de5a6c
parent3b1647d1b643b60e453a59d32194f2b128e6395f
mon: add command osd pool clear-availability-status

This commit adds a new command to allow users to clear the
calculated availability score for a specified pool. This can be
done by issuing the command:

  ceph osd pool clear-availability-status <pool_name>

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