]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr: don't update osd stat which is already out 38353/head
authorZhi Zhang <willzzhang@tencent.com>
Wed, 29 Jul 2020 10:47:42 +0000 (18:47 +0800)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 1 Dec 2020 00:11:41 +0000 (03:11 +0300)
commita75f80b3f5e60036e2d9402c8f2513a3a23cc587
tree75138c1b0614edd755cee8debdc2f1d7fa50deba
parent99e6b831071d29bb706a592c1ea8a5b518092375
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>
(cherry picked from commit 493ec9d3acd3f57eed3e4b96ad7c6739c2089ff1)
src/mgr/ClusterState.cc