]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/progress: Bug fix complete event when OSD marked in
authorKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Fri, 21 Jun 2019 18:06:53 +0000 (14:06 -0400)
committerkamoltat <ksirivad@redhat.com>
Thu, 26 Nov 2020 05:55:47 +0000 (05:55 +0000)
commitcc41195b4308c43ec4eb0766c3a9522b02fcc994
treecd01440c266df05c26d8636c7f9a194965b5cf2f
parentc59c49287adf87c88b78b59a626f2a70269e9c76
mgr/progress: Bug fix complete event when OSD marked in

Swap the order of checking for complete event
when OSD is marked in and creating a
PG Recovery event so that the event
doesn't cancel itself.

Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
(cherry picked from commit 93d4d9d7044e991a7bbdb70b0aef02284e6eda22)

Conflicts:
src/pybind/mgr/progress/module.py - change self._events.item()
    to list(self._events)
  - add self.get("pg_ready")
src/pybind/mgr/progress/module.py