]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/pg_autoscaler: add check for norecover flag 55078/head
authorAishwarya Mathuria <amathuri@redhat.com>
Thu, 26 Oct 2023 13:14:10 +0000 (13:14 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Mon, 8 Jan 2024 03:46:51 +0000 (09:16 +0530)
commitbde2851b3c10e83eb1e2b512ff6024ba51ede863
tree3cc59be8ca920014ffeb4ea91c8327c1e6e4caae
parent03e172495d81c813acb1526ebb6e0224023370c8
mgr/pg_autoscaler: add check for norecover flag

The PG autoscaler should not be active when the norecover flag is set.
As each newly split PG will need to be backfilled, it does not make sense to have the autoscaler active if the norecover flag is set.

Fixes: https://tracker.ceph.com/issues/63334
Signed-off-by: Aishwarya Mathuria <amathuri@redhat.com>
(cherry picked from commit 009832f07abe2bf051965097f550d8695e9cebd4)
src/pybind/mgr/pg_autoscaler/module.py