]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Thu, 26 Jun 2025 12:13:41 +0000 (17:43 +0530)
commit5cfec63821320c416ecbfdbbfa304978a577828f
tree372e9480421bd18818d689528bb4328096e0fbfc
parentfd748feaff1b7bdc85928d3ecfd8c01497744df5
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>
(cherry picked from commit f6aed0b45efc60a8ca81bd3455c14a13106dd3c9)
src/mon/MgrStatMonitor.cc
src/mon/MgrStatMonitor.h
src/mon/MonCommands.h
src/mon/OSDMonitor.cc