]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
options/mon: disable availability tracking by default 65545/head
authorShraddha Agrawal <shraddha.agrawal000@gmail.com>
Tue, 16 Sep 2025 13:52:27 +0000 (19:22 +0530)
committerShraddha Agrawal <shraddha.agrawal000@gmail.com>
Wed, 17 Sep 2025 20:18:04 +0000 (20:18 +0000)
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
PendingReleaseNotes
qa/standalone/mon/availability.sh
src/common/options/mon.yaml.in

index 4ec9ad7be34c136818487e3900483db9d2625c84..4f688c9c15b5742458064b0e3ee251ed3e237a42 100644 (file)
   unavailable if any PG in the pool is not in active state or if there are unfound 
   objects. Otherwise the pool is considered available. The score is updated every 
   one second by default. This interval can be changed using the new config option
-  ``pool_availability_update_interval.``. The feature is on by default. A new config option 
-  ``enable_availability_tracking`` can be used to turn off the feature if required. 
+  ``pool_availability_update_interval.``. The feature is off by default. A new config option 
+  ``enable_availability_tracking`` can be used to turn on the feature if required. 
   Another command is added to clear the availability status for a specific pool, 
   ``ceph osd pool clear-availability-status <pool-name>``. 
   This feature is in tech preview. 
index 668dd3673356b2ef5f44e77442f888480ddfeef4..c12fa28fd1b1feffb7bc6f841ff648e49cddd74a 100755 (executable)
@@ -53,6 +53,9 @@ function TEST_availablity_score() {
 
     ceph -s 
     ceph health | grep HEALTH_OK || return 1
+    # enable feature
+    ceph config set mon enable_availability_tracking true
     ceph osd pool availability-status
     AVAILABILITY_STATUS=$(ceph osd pool availability-status | grep -w "foo")
     SCORE=$(echo "$AVAILABILITY_STATUS" | awk '{print $7}')
index 678ce5c2f7f2f25b9b273e15bb56766bc82f7ce3..15922b4dbdb0a338cf355f58d93a67771128478e 100644 (file)
@@ -1407,7 +1407,7 @@ options:
   level: advanced
   desc: Calculate and store availablity score for each pool in the 
     cluster at regular intervals
-  default: true
+  default: false
   services :
   - mon
   flags: