]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/pg_autoscaler: add check for norecover flag 54708/head
authorAishwarya Mathuria <amathuri@redhat.com>
Thu, 26 Oct 2023 13:14:10 +0000 (13:14 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Mon, 27 Nov 2023 15:20:55 +0000 (15:20 +0000)
commit009832f07abe2bf051965097f550d8695e9cebd4
tree3388b4faa60d1defa3496f895b3705c06ae04cbe
parent54fea2eefdc987fa89da9867f53e83b2dd7d6b43
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>
src/pybind/mgr/pg_autoscaler/module.py