From e1569a18c30325bc3bde65fefa2244f5336aca9a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 3 Sep 2019 10:54:47 -0500 Subject: [PATCH] common: default pg_autoscale_mode=on for new pools Signed-off-by: Sage Weil --- PendingReleaseNotes | 6 ++++++ 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, 13 insertions(+), 7 deletions(-) diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 5dabadd4d1717..41a8886cc6340 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -141,3 +141,9 @@ * 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 df23c2da27bbf..0ebbe4b3037cd 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -2625,7 +2625,7 @@ std::vector