]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
options/mon: disable availability tracking by default 65570/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:32:20 +0000 (20:32 +0000)
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
(cherry picked from commit ef7effaa33bd6b936d7433e668d36f80ed7bee65)

PendingReleaseNotes
qa/standalone/mon/availability.sh
src/common/options/mon.yaml.in

index a3b50e2984da9198a58ed082156d8ae4ff471df6..4a1e66f3c7a01b405b93cf18f77f343549208740 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: