]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rados/operations: Add missing required parameters to stretch-mode CRUSH rule... 46170/head 46189/head
authorEneko Lacunza <elacunza@binovo.es>
Thu, 5 May 2022 15:41:51 +0000 (17:41 +0200)
committerEneko Lacunza <elacunza@binovo.es>
Fri, 6 May 2022 07:31:27 +0000 (09:31 +0200)
Rule example is missing min_size and max_size, both are required.

Signed-off-by: Eneko Lacunza <elacunza@binovo.es>
doc/rados/operations/stretch-mode.rst

index cce882058bcd9948acc2dff4c8f9fbacd52a1804..07da47db026b84c83800a6ba2febd5b8a4fa5f95 100644 (file)
@@ -82,6 +82,8 @@ named ``site1`` and ``site2``::
 
   rule stretch_rule {
           id 1
+          min_size 1
+          max_size 10
           type replicated
           step take site1
           step chooseleaf firstn 2 type host