From 7ddb3649317a12f9e5e367b6d4f2bd0e5ca84dbd Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 30 Nov 2021 18:18:31 -0500 Subject: [PATCH] mgr: limit changes to pg_num We need to avoid making drastic changes to pg_num that outpace pgp_num or else we will may hit the per-osd pg limits. Fixes: https://tracker.ceph.com/issues/53442 Signed-off-by: Sage Weil (cherry picked from commit 3b2a11249aff6ee608efc95212d6723df180cd07) Conflicts: src/common/options/mgr.yaml.in Cherry-pick notes: - Options defined in common/options.cc in Octopus vs. common/options/mgr.yaml.in --- src/common/options.cc | 5 +++++ src/mgr/DaemonServer.cc | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 4fa13e1076b3e..3ddc5fa90c0f2 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5264,6 +5264,11 @@ std::vector