]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: distinguish between definitely healthy and definitely not unhealthy
authorSage Weil <sage@inktank.com>
Wed, 29 May 2013 20:15:41 +0000 (13:15 -0700)
committerSage Weil <sage@inktank.com>
Thu, 30 May 2013 05:43:49 +0000 (22:43 -0700)
commit04aa2b5edf72eb59a5dc688475df59dda25a3cac
tree68dedfd2cf7756ba55db4501e4162be7c953aba4
parent28ea184d3a37fa8d878c82571ae64607c6717b43
osd: distinguish between definitely healthy and definitely not unhealthy

is_unhealthy() will assume they are healthy for some period after we
send our first ping attempt.  is_healthy() is now a strict check that we
know they are healthy.

Switch the failure report check to use is_unhealthy(); use is_healthy()
everywhere else, including the waiting-for-healthy pre-boot checks.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h