]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/pg_autoscaler: add check for norecover flag 57568/head
authorAishwarya Mathuria <amathuri@redhat.com>
Thu, 26 Oct 2023 13:14:10 +0000 (13:14 +0000)
committerAishwarya Mathuria <amathuri@redhat.com>
Mon, 20 May 2024 12:26:37 +0000 (17:56 +0530)
commit2f215217ec34a1d1f2399ab1002fd03e7dc38fb1
tree3553342dccf713642cdcc49edef4cb022be1f57b
parent1340775becf34c25cdd317a668cbd5f0d19c6024
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