]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/pg_autoscaler: fix race with pool deletion
authorSage Weil <sage@redhat.com>
Wed, 21 Aug 2019 19:56:43 +0000 (14:56 -0500)
committerSage Weil <sage@redhat.com>
Wed, 21 Aug 2019 19:56:43 +0000 (14:56 -0500)
commit9d45bd9cc96b4f15c13b94113219c76d7af732cc
treedf90cab7283baaabcd673ba9f2f84fc87bde0a1e
parentdad94db7ae9cb6f2d812a1be20517552ac95d047
mgr/pg_autoscaler: fix race with pool deletion

The pool_stats map comes from a get('df') that may not include a pool
because it was just deleted.

Fixes: https://tracker.ceph.com/issues/41386
Signed-off-by: Sage Weil <sage@redhat.com>
src/pybind/mgr/pg_autoscaler/module.py