mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
options/mon: disable availability tracking by default
Signed-off-by: Shraddha Agrawal <shraddhaag@ibm.com>
This commit is contained in:
parent
50d6a3d454
commit
ef7effaa33
@ -183,8 +183,8 @@
|
||||
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.
|
||||
|
||||
@ -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}')
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user