Zum Inhalt springen
Deutsch

ClusterJoinUnsuccessfulReason

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Defined in: src/CoordinatedShutdown.ts:54

The node gave up joining the cluster (#1500): it never became a member, and this run is how it stops. Passed by both deadlines a join has — actor-ts.cluster.shutdown-after-unsuccessful-join passing with nothing able to promote the node, and a Cluster.bootstrap readiness wait expiring — so a task tells “could not join” by one reason whichever fired. A Cluster.bootstrap refused after it built its system ends with it too, where run-by-actor-system-terminate makes that end a run (#1455).

Its own reason rather than ClusterLeavingReason, which keeps meaning that a member is leaving: a task that hands work over before a node leaves has nothing to hand over from a node that never joined, and one that pages someone about a failed start should not page about a rolling restart.

A run with it is a run for a failure: with exit-process on it never ends the process with status 0, whichever way the run ends (see reportsFailure).

new ClusterJoinUnsuccessfulReason(): ClusterJoinUnsuccessfulReason

ClusterJoinUnsuccessfulReason

Reason.constructor

readonly name: "ClusterJoinUnsuccessfulReason" = 'ClusterJoinUnsuccessfulReason'

Defined in: src/CoordinatedShutdown.ts:55

Reason.name


readonly static instance: ClusterJoinUnsuccessfulReason

Defined in: src/CoordinatedShutdown.ts:56

toString(): string

Defined in: src/CoordinatedShutdown.ts:17

string

Reason.toString