]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: defer boot if heartbeatmap indicates we are unhealthy
authorSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 04:27:37 +0000 (21:27 -0700)
committerSage Weil <sage@inktank.com>
Fri, 20 Jul 2012 04:27:37 +0000 (21:27 -0700)
commit369fbf6110c1f4f0928bea93178110f712566ee3
treee2b6a0d878f9d03e7b1d83d328b00ec60227b0ea
parentd76df212c8e1dadb4240fa5c99f108672953a488
osd: defer boot if heartbeatmap indicates we are unhealthy

If the OSD is bogged down or unresponsive, we should not try to join
the cluster.  This was observed on congress (slow/clogged op_tp combined
with osdmap thrashing).

Fixes: #2502
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/osd/OSD.cc