]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/pg_autoscaler: typo default option scale-up to scale-down 43746/head
authorKamoltat <ksirivad@redhat.com>
Fri, 29 Oct 2021 21:23:52 +0000 (21:23 +0000)
committerKamoltat <ksirivad@redhat.com>
Tue, 9 Nov 2021 15:00:47 +0000 (15:00 +0000)
commit97ac43822e1f54eb217701c411f49e483ce92bfd
treee53f861895552a46c1795a3541d11597e123e649
parent74565072f7ee41c62819b1c929e6acab2d437f68
pybind/mgr/pg_autoscaler: typo default option scale-up to scale-down

Typo: `scale-up` should be `scale-down` in Module
Option.

This typo doesn't trigger a bug because we create
a key-value of `scale-down` profile in
the function `create_initial()` in `src/mon/KVMonitor.cc`.
This will override whatever is the default option
in pg_autoscaler/module.py when we start the cluster and
the monitor gets created.

The command: `ceph osd pool set autoscale-profile <option>`
is still the primary command to change the autoscale-profiler
after the pool is created.

Fixes: https://tracker.ceph.com/issues/53203
Signed-off-by: Kamoltat <ksirivad@redhat.com>
src/pybind/mgr/pg_autoscaler/module.py