Skip to content

Commit 3b31212

Browse files
committed
doc: add docs and update release notes for the new config option
Fixes: https://tracker.ceph.com/issues/71494 Signed-off-by: Shraddha Agrawal <[email protected]> (cherry picked from commit 80c7492)
1 parent 31fe915 commit 3b31212

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

PendingReleaseNotes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@
151151
users to view the availability score for each pool in a cluster. A pool is considered
152152
unavailable if any PG in the pool is not in active state or if there are unfound
153153
objects. Otherwise the pool is considered available. The score is updated every
154-
5 seconds. This feature is in tech preview.
154+
5 seconds. The feature is on by default. A new config option `enable_availability_tracking`
155+
can be used to turn off the feature if required. This feature is in tech preview.
155156
Related trackers:
156157
- https://tracker.ceph.com/issues/67777
157158

doc/rados/configuration/mon-config-ref.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ Miscellaneous
627627
.. confval:: mon_osd_cache_size_min
628628
.. confval:: mon_memory_target
629629
.. confval:: mon_memory_autotune
630+
.. confval:: enable_availability_tracking
630631

631632
.. _Paxos: https://en.wikipedia.org/wiki/Paxos_(computer_science)
632633
.. _Monitor Keyrings: ../../../dev/mon-bootstrap#secret-keys

doc/rados/operations/monitoring.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,4 +784,14 @@ the ratio of MTBF to the total time.
784784
The score is updated every five seconds. This interval is currently
785785
not configurable. Any intermittent changes to the pools that
786786
occur between this duration but are reset before we recheck the pool
787-
status will not be captured by this feature.
787+
status will not be captured by this feature.
788+
789+
This feature is on by default. To turn the feature off, e.g. - for an expected
790+
downtime, the ``enable_availability_tracking`` config option can be set to ``false``.
791+
792+
.. prompt:: bash $
793+
794+
ceph config set mon enable_availability_tracking false
795+
796+
While the feature is turned off, the last calculated score will be preserved. The
797+
score will again start updating once the feature is turned on again.

0 commit comments

Comments
 (0)