From aa1d8cf4fa321e24e850bd5f687a6ddad3ce05e3 Mon Sep 17 00:00:00 2001 From: Kamoltat Sirivadhna Date: Wed, 7 Aug 2024 19:20:41 +0000 Subject: [PATCH] docs/rados/operations/stretch-mode: warn device class is not supported Signed-off-by: Kamoltat Sirivadhna --- doc/rados/operations/stretch-mode.rst | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/doc/rados/operations/stretch-mode.rst b/doc/rados/operations/stretch-mode.rst index 31bbe821f96ea..a5694718a5847 100644 --- a/doc/rados/operations/stretch-mode.rst +++ b/doc/rados/operations/stretch-mode.rst @@ -272,8 +272,21 @@ SSDs (including NVMe OSDs). Hybrid HDD+SDD 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. -In the future, stretch mode might support erasure-coded pools and might support -deployments that have more than two data centers. +.. warning:: Device class is currently not supported in stretch mode. + For example, the following rule containing ``device class`` will not work:: + + rule stretch_replicated_rule { + id 2 + type replicated class hdd + step take default + step choose firstn 0 type datacenter + step chooseleaf firstn 2 type host + step emit + } + +In the future, stretch mode could support erasure-coded pools, +enable deployments across multiple data centers, +and accommodate various device classes. Other commands ============== -- 2.39.5