]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/crush/crush-choose-args-expected-one-more-0.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / crush / crush-choose-args-expected-one-more-0.txt
index bad7f0becfe94e5ae1e3719c68b5698c33c9ff0f..3e9eb68b736d5a52000af041c5071b96a7f6d7f2 100644 (file)
@@ -29,26 +29,24 @@ type 11 root
 # buckets
 host HOST {
        id -2           # do not change unnecessarily
-       # weight 6.000
+       # weight 6.00000
        alg straw2
        hash 0  # rjenkins1
-       item osd.0 weight 3.000
-       item osd.1 weight 3.000
+       item osd.0 weight 3.00000
+       item osd.1 weight 3.00000
 }
 root default {
        id -1           # do not change unnecessarily
-       # weight 6.000
+       # weight 6.00000
        alg straw2
        hash 0  # rjenkins1
-       item HOST weight 6.000
+       item HOST weight 6.00000
 }
 
 # rules
 rule replicated_rule {
        id 0
        type replicated
-       min_size 1
-       max_size 10
        step take default
        step choose firstn 0 type osd
        step emit
@@ -59,16 +57,16 @@ choose_args 0 {
   {
     bucket_id -1
     weight_set [
-      [ 2.000 ]
-      [ 1.000 ]
+      [ 2.00000 ]
+      [ 1.00000 ]
     ]
     ids [ -10 ]
   }
   {
     bucket_id -2
     weight_set [
-      [ 2.000 0.000 ]
-      [ 1.000 0.000 ]
+      [ 2.00000 0.00000 ]
+      [ 1.00000 0.00000 ]
     ]
     ids [ -20 1 ]
   }