]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr: don't update osd stat which is already out
authorZhi Zhang <willzzhang@tencent.com>
Wed, 29 Jul 2020 10:47:42 +0000 (18:47 +0800)
committerZhi Zhang <willzzhang@tencent.com>
Wed, 29 Jul 2020 10:47:42 +0000 (18:47 +0800)
commit493ec9d3acd3f57eed3e4b96ad7c6739c2089ff1
treed8b76d0acef46816dba29ae759a6f7dda922f769
parentc757bc862dbfc4f62443e0150b2d74ee554ee1ed
mgr: don't update osd stat which is already out

Ceph status still reports slow requests on the OSD which is already out.
When orignal PG monitor handled PGSTATS msg, it wouldn't update osd stat
if this OSD is not in OSD map, but current MGR had no checks on that.

Fixes: https://tracker.ceph.com/issues/46440
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
src/mgr/ClusterState.cc