]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "osd: default to 3x replication"
authorSage Weil <sage@inktank.com>
Fri, 6 Dec 2013 23:48:39 +0000 (15:48 -0800)
committerSage Weil <sage@inktank.com>
Fri, 6 Dec 2013 23:48:39 +0000 (15:48 -0800)
This reverts commit cb26fbde52f31b449af60acce3ced34e593d6e1e.

Fix unit tests and do integration tests first; this may have unexpected
consequences.

src/common/config_opts.h

index ba0bd84b3cff4cc345d496fcf13818f377c2f222..19bccb2e28e807b777d055a639d0493ca76e48aa 100644 (file)
@@ -389,7 +389,7 @@ OPTION(osd_crush_chooseleaf_type, OPT_INT, 1) // 1 = host
 OPTION(osd_min_rep, OPT_INT, 1)
 OPTION(osd_max_rep, OPT_INT, 10)
 OPTION(osd_pool_default_crush_rule, OPT_INT, 0)
-OPTION(osd_pool_default_size, OPT_INT, 3)
+OPTION(osd_pool_default_size, OPT_INT, 2)
 OPTION(osd_pool_default_min_size, OPT_INT, 0)  // 0 means no specific default; ceph will use size-size/2
 OPTION(osd_pool_default_pg_num, OPT_INT, 8) // number of PGs for new pools. Configure in global or mon section of ceph.conf
 OPTION(osd_pool_default_pgp_num, OPT_INT, 8) // number of PGs for placement purposes. Should be equal to pg_num