From dd2782c15ae0b6e4f5e6242db0d4804a7760adc7 Mon Sep 17 00:00:00 2001 From: David Zafman Date: Tue, 17 Sep 2019 14:40:57 -0700 Subject: [PATCH] Revert "common: default pg_autoscale_mode=on for new pools" This reverts commit 91e4fc24e785a25884125df6762ab2304bf8908b. Fixes: https://tracker.ceph.com/issues/41900 Signed-off-by: David Zafman --- PendingReleaseNotes | 7 ------- src/common/options.cc | 2 +- src/test/cli/osdmaptool/clobber.t | 4 ++-- src/test/cli/osdmaptool/create-print.t | 4 ++-- src/test/cli/osdmaptool/create-racks.t | 4 ++-- 5 files changed, 7 insertions(+), 14 deletions(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 798cda04d2d29..5dabadd4d1717 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -141,10 +141,3 @@ * New OSD daemon command dump_scrub_reservations which reveals the scrub reservations that are held for local (primary) and remote (replica) PGs. - -* The ``pg_autoscale_mode`` is now set to ``on`` by default for newly - created pools, which means that Ceph will automatically manage the - number of PGs. To change this behavior, or to learn more about PG - autoscaling, see :ref:`pg-autoscaler`. Note that existing pools in - upgraded clusters will still be set to ``warn`` by default. - diff --git a/src/common/options.cc b/src/common/options.cc index 8693f82e44ab5..31298b74ebe83 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2625,7 +2625,7 @@ std::vector