Skip to content

Commit ef7effa

Browse files
committed
options/mon: disable availability tracking by default
Signed-off-by: Shraddha Agrawal <[email protected]>
1 parent 50d6a3d commit ef7effa

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

PendingReleaseNotes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@
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.

qa/standalone/mon/availability.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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}')

src/common/options/mon.yaml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)