]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/progress: fix PgRecoveryEvent completion cases
authorJohn Spray <john.spray@redhat.com>
Fri, 20 Jul 2018 12:22:23 +0000 (08:22 -0400)
committerJohn Spray <john.spray@redhat.com>
Tue, 11 Sep 2018 10:21:35 +0000 (11:21 +0100)
commit51691d84b91b4c0a08cd52f3175821b4a2f44e6f
tree02cc8f5e6a496ef62cf3c1cd11c12e7ff7953c62
parent5c071a61f41f20e563909c90d2c054e97a4a747d
mgr/progress: fix PgRecoveryEvent completion cases

The event was previously not getting moved to the completed
list.  There are a couple more cases too:
 - When some pgs go away (a pool is removed) during the event
 - When the OSD comes back in after going out

Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/mgr/mgr_module.py
src/pybind/mgr/progress/module.py