]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace
authorDavid Zafman <dzafman@redhat.com>
Thu, 11 Jul 2019 21:24:12 +0000 (21:24 +0000)
committerDavid Zafman <dzafman@redhat.com>
Mon, 4 Nov 2019 22:21:21 +0000 (14:21 -0800)
commit9e48aa1144ca3769fafeaba15fd1aa8ee1c0dfb5
treef8dc7725a224b9b6dbddae61798689b5d11cf817
parent5198809158d96b8727ffc43e0153e826039fadea
osd mgr mon: Add mon_warn_on_slow_ping_ratio config as 5% of osd_heartbeat_grace

Compute network ping threshold based on ratio (5% of 20 seconds is 1 second)
Make the threshold value used part of dump_osd_network for osd and mgr
Keep mon_warn_on_slow_ping_time (default 0) to optionally override the ratio

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 0d1bbd34e96e2da2027861229b376805d5ea8aa6)
src/common/options.cc
src/mgr/ClusterState.cc
src/mon/PGMap.cc
src/osd/OSD.cc