ClusterMembershipOptions Class

Definition

Settings for cluster membership.

C#
public class ClusterMembershipOptions
Inheritance
ClusterMembershipOptions

Constructors

Fields

Properties

DeathVoteExpirationTimeout

Gets or sets the expiration time in seconds for votes in the membership table.

DefunctSiloCleanupPeriod

Gets or sets the duration between membership table cleanup operations. When this period elapses, all defunct silo entries older than DefunctSiloExpiration are removed. This value is per-silo.

DefunctSiloExpiration

Gets or sets the period of time after which membership entries for defunct silos are eligible for removal. Valid only if DefunctSiloCleanupPeriod is not null.

EnableIndirectProbes

Gets or sets a value indicating whether to enable probing silos indirectly, via other silos.

EvictWhenMaxJoinAttemptTimeExceeded

Gets or sets a value indicating whether to enable membership eviction of silos when in a state of Joining or Created for longer than MaxJoinAttemptTime

ExpectedClusterSize

The expected size of a cluster. Need not be very accurate, can be an overestimate.

ExtendProbeTimeoutDuringDegradation

Gets or sets a value indicating whether to extend the effective ProbeTimeout value based upon current local health degradation.

IAmAliveTablePublishTimeout

Gets or sets the period between updating this silo's heartbeat in the membership table.

IsRunningAsUnitTest

TEST ONLY - Do not modify in production environments

LivenessEnabled

Gets or sets a value indicating whether to disable silo liveness protocol (should be used only for testing). If a silo is suspected to be down, but this attribute is set to false, the suspicions will not propagated to the system and enforced. This parameter is intended for use only for testing and troubleshooting. In production, liveness should always be enabled.

LocalHealthDegradationMonitoringPeriod

Gets or sets the period between self-tests to log local health degradation status.

MaxJoinAttemptTime

Gets or sets the maximum amount of time to attempt to join a cluster before giving up.

NumMissedProbesLimit

Gets or sets the number of missed probe requests from a silo that lead to suspecting this silo as down.

NumMissedTableIAmAliveLimit

Gets or sets the number of missed "I am alive" updates in the table from a silo that causes warning to be logged.

NumProbedSilos

Gets or sets the number of silos each silo probes for liveness.

NumVotesForDeathDeclaration

Gets or sets the number of non-expired votes that are needed to declare some silo as down (should be at most NumProbedSilos)

ProbeTimeout

Gets or sets both the period between sending a liveness probe to any given host as well as the timeout for each probe.

TableRefreshTimeout

Gets or sets the period between fetching updates from the membership table.

UseLivenessGossip

Gets or sets a value indicating whether gossip membership updates between hosts.

ValidateInitialConnectivity

Whether new silo that joins the cluster has to validate the initial connectivity with all other Active silos.

Applies to

Product Versions
.NET Orleans 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0