5 seconds. The feature is on by default. A new config option ``enable_availability_tracking``
can be used to turn off 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>``.
+ one second by default. This interval can be changed using the new config option
+ ``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.
Related trackers:
- https://tracker.ceph.com/issues/67777
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}')