Yes, I would prefer a separate state, parsing the log is too error prone. Carsten
2014/1/3 Bertrand Delacretaz <bdelacre...@apache.org> > Hi, > > On Fri, Jan 3, 2014 at 3:28 PM, Carsten Ziegeler <cziege...@apache.org> > wrote: > > Bertrand wrote: > >> As is you can compute the age of a result, that should already help. > >> > > Hmm and what about the case, where there is no result yet and the HC > takes > > longer than the timeout? > > In my prototype I returned an HEALTH_CHECK_ERROR status for that, with > a Result that includes a log that explains the problem. Haven't > checked what the current implementation does. > > We could also return a specific NO_RESULT state in this case. > > -Bertrand > -- Carsten Ziegeler cziege...@apache.org