[Bug]: If a HealthCheck fails the check disappears in the results (non-clustered) or the whole request fails (clustered) #291
Labels
bug
Something isn't working
needs triage
This issue needs to be investigated and confirmed as a valid
Is there an existing issue for this?
Current Behavior
NeonBee can't handle failing HealthChecks.
Local
In non-clustered mode the method getLocalHealthCheckResults is called which simply omits failed HealthChecks.
Cluster
In clustered mode the method collectHealthCheckResults is called which sends requests to all HealthCheckVerticles. But as soon as one HealthCheck fails the HealthCheckVerticle will respond with a failure, because a
AsyncHelper.allComposite
collector is used to collect the results [1].[1]
neonbee/src/main/java/io/neonbee/internal/verticle/HealthCheckVerticle.java
Line 58 in e852582
Expected Behavior
HealthCheckVerticle.retrieveData(..)
should re-usegetLocalHealthCheckResults
to remove code redundancy.Steps To Reproduce
No response
Environment
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: