From 8539ac90e6006a743eb6a401cd124530603fb8f0 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 (cherry picked from commit aa1d8cf4fa321e24e850bd5f687a6ddad3ce05e3) --- 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 a752bf54118..37c1de14b83 100644 --- a/doc/rados/operations/stretch-mode.rst +++ b/doc/rados/operations/stretch-mode.rst @@ -260,8 +260,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