]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc: fix formatting, typos in mon elections and stretch mode
authorJoao Eduardo Luis <joao@clyso.com>
Fri, 1 Aug 2025 11:29:03 +0000 (11:29 +0000)
committerJoao Eduardo Luis <joao@clyso.com>
Fri, 1 Aug 2025 11:39:36 +0000 (11:39 +0000)
Signed-off-by: Joao Eduardo Luis <joao@clyso.com>
doc/rados/operations/change-mon-elections.rst
doc/rados/operations/stretch-mode.rst

index 7418ea3633db255b80233a093935d5eee992c447..068a1f1983349790949463f376a5f01cbaa95630 100644 (file)
@@ -17,6 +17,8 @@ election default strategy`` option. This option takes an integer value:
 After your cluster has started running, you can change strategies by running a
 command of the following form:
 
+.. prompt:: bash $
+
   $ ceph mon set election_strategy {classic|disallow|connectivity}
 
 Choosing a mode
index 9d199387f9d030ea4c69f2173251409ef9f2d5bc..18008a6994b110b0699ac02369e3fdcfb9d8d733 100644 (file)
@@ -262,14 +262,14 @@ with the CRUSH topology.
       ceph mon enable_stretch_mode e stretch_rule datacenter
 
 When stretch mode is enabled, PGs will become active only when they peer
-across CRUSH ``datacenter``s (or across whichever CRUSH bucket type was specified),
+across CRUSH ``datacenter`` (or across whichever CRUSH bucket type was specified),
 assuming both are available. Pools will increase in size from the default ``3`` to
 ``4``, and two replicas will be placed at each site. OSDs will be allowed to
 connect to Monitors only if they are in the same data center as the Monitors.
 New Monitors will not be allowed to join the cluster if they do not specify a
 CRUSH location.
 
-If all OSDs and Monitors in one of the ``datacenter``s become inaccessible at once,
+If all OSDs and Monitors in one of the ``datacenter`` become inaccessible at once,
 the cluster in the surviving ``datacenter`` enters  *degraded stretch mode*.
 A health state warning will be
 raised, pools' ``min_size`` will be reduced to ``1``, and the cluster will be
@@ -337,8 +337,8 @@ each data center. If pools exist in the cluster that do not have the default
 ``size`` or ``min_size``, Ceph will not enter stretch mode. An example of such
 a CRUSH rule is given above.
 
-Because stretch mode runs with poos' ``min_size`` set to ``1``
-we recommend enabling stretch mode only when using OSDs on
+Because stretch mode runs with pools' ``min_size`` set to ``1``,
+we recommend enabling stretch mode only when using OSDs on
 SSDs. Hybrid HDD+SSD or HDD-only OSDs are not recommended
 due to the long time it takes for them to recover after connectivity between
 data centers has been restored. This reduces the potential for data loss.