Skip to content

Commit 1e2b597

Browse files
authored
Merge pull request ceph#59087 from kamoltat/wip-ksirivad-fix-stretch-device-class-docs
docs/rados/operations/stretch-mode: warn device class is not supported Reviewed-by: Greg Farnum <[email protected]> Reviewed-by: Anthony D'Atri <[email protected]>
2 parents bd1082d + aa1d8cf commit 1e2b597

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

doc/rados/operations/stretch-mode.rst

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,21 @@ SSDs (including NVMe OSDs). Hybrid HDD+SDD or HDD-only OSDs are not recommended
272272
due to the long time it takes for them to recover after connectivity between
273273
data centers has been restored. This reduces the potential for data loss.
274274

275-
In the future, stretch mode might support erasure-coded pools and might support
276-
deployments that have more than two data centers.
275+
.. warning:: Device class is currently not supported in stretch mode.
276+
For example, the following rule containing ``device class`` will not work::
277+
278+
rule stretch_replicated_rule {
279+
id 2
280+
type replicated class hdd
281+
step take default
282+
step choose firstn 0 type datacenter
283+
step chooseleaf firstn 2 type host
284+
step emit
285+
}
286+
287+
In the future, stretch mode could support erasure-coded pools,
288+
enable deployments across multiple data centers,
289+
and accommodate various device classes.
277290

278291
Other commands
279292
==============

0 commit comments

Comments
 (0)