]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: don't update osd stat which is already out 38354/head
authorZhi Zhang <willzzhang@tencent.com>
Wed, 29 Jul 2020 10:47:42 +0000 (18:47 +0800)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 30 Nov 2020 15:07:31 +0000 (18:07 +0300)
commit49f2ca22bc6dc8d5871f7ee68defd27a7f2ffea2
treeedb3d8a20579782072ab9b979c5b1dbf06de5156
parent24151eb93e273d7f3d22a489e8645f01911897da
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