]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/progress: Add recovery event when OSD marked in
authorKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Thu, 13 Jun 2019 20:22:01 +0000 (16:22 -0400)
committerKamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
Thu, 13 Jun 2019 20:22:01 +0000 (16:22 -0400)
commit2046c25362a69b1ed2c0009e9ef6a944f0d9e621
treeee24a3552acd9cf35f499f9fc7733ba478deb986
parentdd2c3f66a1dbd9582b7cd695efff66317b730c8a
mgr/progress: Add recovery event when OSD marked in

Combine the functions _osd_in and _osd_out in
to a single function call _osd_in_out, which
has a parameter called marked (string) that
will indicate if the event is when an osd is
marked in or out. Consider only the 'acting'
set of an osd for both when 'in' and 'out'
event of the osd to calculate affected PGs

Signed-off-by: Kamoltat (Junior) Sirivadhna <ksirivad@redhat.com>
src/pybind/mgr/progress/module.py