]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/progress: Add event when OSD marked in
authorKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Tue, 11 Jun 2019 19:14:15 +0000 (15:14 -0400)
committerkamoltat <ksirivad@redhat.com>
Sat, 21 Nov 2020 06:45:18 +0000 (06:45 +0000)
commit00a0c28b0ab52c81dad8cd199264c151154cb0c0
tree0f7681ec0ba4b42d3653b22324574a7e1c5b224d
parent9b453153f209f1b4e6d8edb8ae385f4c25fbc17d
mgr/progress: Add event when OSD marked in

Basically keeps track of affected PGs
similar to how funciton _osd_out works
but instead of tracking up+acting set
we only care about acting. Also made
a minor change on the function pg_update:
we consider pg to be complete when it
is active and clean and nothing else.
Removed the variable "unmoved" since
If the pg wasn't moved, we shouldn't
have an event for it in the first place.

(cherry picked from commit dd2c3f66a1dbd9582b7cd695efff66317b730c8a)
Signed-off-by: Kamoltat <ksirivad@redhat.com>
src/pybind/mgr/progress/module.py