]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: stuck peering since warning is misleading 57408/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 26 Dec 2022 04:43:34 +0000 (22:43 -0600)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Fri, 10 May 2024 17:16:22 +0000 (00:16 +0700)
commit7da8127bbdd30951e9ea21011bb6a5e604280a9d
tree95522c1b9768a4527f5d70a18c6130402d1d15e0
parent5229e2dc951cf7cc6977745cb31d3fcdb8d472e1
mon: stuck peering since warning is misleading

When osds restart or manually marked down it is common to see a HEALTH_WARN claiming that PGs have been stuck peering since awhile, even though they were active. The warning is to be issued if they really are stuck peering longer than 60s.

Fixes: https://tracker.ceph.com/issues/51688
Signed-off-by: shreyanshjain7174 <ssanchet@redhat.com>
(cherry picked from commit 48a8a6c78f5c2efa2a15bf78bed7de8394ec5370)
src/mon/PGMap.cc