Skip to content

Commit 49ed237

Browse files
authored
Merge pull request ceph#65545 from shraddhaag/wip-shraddhaag-availability-default
options/mon: disable availability tracking by default Reviewed-by: Radoslaw Zarzynski <[email protected]>
2 parents 0d689e9 + ef7effa commit 49ed237

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
@@ -179,8 +179,8 @@
179179
unavailable if any PG in the pool is not in active state or if there are unfound
180180
objects. Otherwise the pool is considered available. The score is updated every
181181
one second by default. This interval can be changed using the new config option
182-
``pool_availability_update_interval.``. The feature is on by default. A new config option
183-
``enable_availability_tracking`` can be used to turn off the feature if required.
182+
``pool_availability_update_interval.``. The feature is off by default. A new config option
183+
``enable_availability_tracking`` can be used to turn on the feature if required.
184184
Another command is added to clear the availability status for a specific pool,
185185
``ceph osd pool clear-availability-status <pool-name>``.
186186
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)