]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N
authorSage Weil <sage@redhat.com>
Thu, 2 May 2019 16:18:17 +0000 (11:18 -0500)
committerNeha Ojha <nojha@redhat.com>
Wed, 14 Aug 2019 19:52:02 +0000 (12:52 -0700)
commit01f629258fec7c9cfab2aae53c3869c797b6cb7f
tree5f77cd575b4d65a49752fd46ea8d54414fdd6c8f
parent10354ce3b156545aeb3fa5d3d16581a01e4aad03
mon/OSDMonitor: allow pg_num to increase when require_osd_release < N

Setting pg_num_target has no effect when we encode our OSDMap with mimic
or luminous features.  Fall back to the pre-nautilus behavior of directly
setting pg_num.

Fixes: http://tracker.ceph.com/issues/39570
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 7e7134aa9317a0d64503edb20b9ea1f4035c7e9e)
src/mon/OSDMonitor.cc