File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 183183 unavailable if any PG in the pool is not in active state or if there are unfound
184184 objects. Otherwise the pool is considered available. The score is updated every
185185 one second by default. This interval can be changed using the new config option
186- ``pool_availability_update_interval.``. The feature is on by default. A new config option
187- ``enable_availability_tracking`` can be used to turn off the feature if required.
186+ ``pool_availability_update_interval.``. The feature is off by default. A new config option
187+ ``enable_availability_tracking`` can be used to turn on the feature if required.
188188 Another command is added to clear the availability status for a specific pool,
189189 ``ceph osd pool clear-availability-status <pool-name>``.
190190 This feature is in tech preview.
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ function TEST_availablity_score() {
5353
5454 ceph -s
5555 ceph health | grep HEALTH_OK || return 1
56+ # enable feature
57+ ceph config set mon enable_availability_tracking true
58+
5659 ceph osd pool availability-status
5760 AVAILABILITY_STATUS=$( ceph osd pool availability-status | grep -w " foo" )
5861 SCORE=$( echo " $AVAILABILITY_STATUS " | awk ' {print $7}' )
Original file line number Diff line number Diff line change @@ -1407,7 +1407,7 @@ options:
14071407 level : advanced
14081408 desc : Calculate and store availablity score for each pool in the
14091409 cluster at regular intervals
1410- default : true
1410+ default : false
14111411 services :
14121412 - mon
14131413 flags :
You can’t perform that action at this time.
0 commit comments