]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: stuck peering since warning is misleading 57407/head
authorshreyanshjain7174 <ssanchet@redhat.com>
Mon, 26 Dec 2022 04:43:34 +0000 (22:43 -0600)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 24 Jul 2024 17:35:13 +0000 (00:35 +0700)
commit9bcfd2f90715e48374af49e21949e246ab91afad
treeb4e9f23514db5133ec9030c635363f2eef8280dd
parentd7202a0d7f389db0284f42a7889712b2d744d3df
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