Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax cluster health check requirements #238

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -47,19 +47,11 @@ There are 5 probe providers that can be used with `Akka.HealthCheck`:
2. `DefaultLivenessProvider` - The default liveness probe. The probe reports the time the `ActorSystem` was started.
* Available inside the `Akka.HealthCheck` NuGet package.
3. `ClusterReadinessProbeProvider` - Readiness probe for clustering.
* Reports healthy when:
* The `ActorSystem` joined a cluster.
* The `ActorSystem` is connected to a cluster
* Reports unhealthy when:
* The `ActorSystem` just started has not joined a cluster.
* All other nodes in the cluster is unreachable.
- Available inside the `Akka.HealthCheck.Cluster` NuGet package.
4. `ClusterLivenessProbeProvider` - Liveness probe for clustering.
* Reports healthy when:
* The `ActorSystem` joined a cluster.
* The `ActorSystem` is connected to a cluster
* Reports unhealthy when:
* The `ActorSystem` just started and has not joined a cluster.
* The `ActorSystem` left the cluster.
* Available inside the `Akka.HealthCheck.Cluster` NuGet package.
5. `AkkaPersistenceLivenessProbeProvider` - Liveness probe for persistence. It probes the persistence storage every second to check that persistence is working properly.
Expand Down
2 changes: 1 addition & 1 deletion src/Akka.HealthCheck.Cluster/ClusterLivenessProbe.cs
Expand Up @@ -18,7 +18,7 @@ namespace Akka.HealthCheck.Cluster
public sealed class ClusterLivenessProbe : ReceiveActor
{
public static readonly LivenessStatus DefaultClusterLivenessStatus =
new LivenessStatus(false, "not yet joined cluster");
new LivenessStatus(true, "not yet joined cluster");

private readonly Akka.Cluster.Cluster _cluster = Akka.Cluster.Cluster.Get(Context.System);
private readonly ILoggingAdapter _log = Context.GetLogger();
Expand Down
Expand Up @@ -34,7 +34,7 @@ public ClusterReadinessProbeProvider(ActorSystem system) : base(system)
public sealed class ClusterReadinessProbe : ReceiveActor
{
public static readonly ReadinessStatus DefaultClusterReadinessStatus =
new ReadinessStatus(false, "not yet joined cluster");
new ReadinessStatus(true, "not yet joined cluster");

private readonly Akka.Cluster.Cluster _cluster = Akka.Cluster.Cluster.Get(Context.System);
private readonly ILoggingAdapter _log = Context.GetLogger();
Expand Down