Skip to content

ClusterMembershipOptions

class

Namespace: Orleans.Configuration

Settings for cluster membership.
public class ClusterMembershipOptions

Constructors

Properties

  • DeathVoteExpirationTimeout Gets or sets the expiration time for votes in the membership table.
  • DefunctSiloCleanupPeriod Gets or sets a value indicating whether defunct silo entries older than ClusterMembershipOptions are removed. Cleanup is attempted when membership changes are observed and the current membership snapshot contains expired non-active entries, or when this period has elapsed since the last cleanup call. Set this value to null to disable expiration-based cleanup.
  • DefunctSiloExpiration Gets or sets the period of time after which membership entries for defunct silos are eligible for removal. Valid only if ClusterMembershipOptions is not null.
  • EnableConnectionLivenessCheck Gets or sets a value indicating whether to consider connection-level message activity when evaluating silo liveness.
  • 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 they remain in the Joining or Created state for longer than ClusterMembershipOptions.
  • ExtendProbeTimeoutDuringDegradation Gets or sets a value indicating whether to extend the effective probe timeout based upon current local health degradation.
  • IAmAliveTablePublishTimeout Gets or sets the period between updating this silo's heartbeat in the membership table.
  • LivenessEnabled Gets or sets a value indicating whether the silo liveness protocol is enabled (should be disabled only for testing). If a silo is suspected to be down, but this property is set to false, the suspicions will not be propagated to the system or enforced. This property is intended for use only for testing and troubleshooting. In production, liveness should always be enabled.
  • LocalHealthDegradationMonitoringPeriod Gets or sets the minimum period between logs reporting local health degradation.
  • MaxDefunctSiloEntries Gets or sets the maximum number of defunct silo entries to retain in the membership table. When this limit is exceeded, the first active silo, selected by natural SiloAddress sort order, asynchronously removes the oldest excess defunct entries from the membership table. Set this value to null to retain all defunct entries and disable threshold-based cleanup.
  • MaxJoinAttemptTime Gets or sets the maximum amount of time to attempt to join a cluster before giving up.
  • MaxProbeTimeout Gets or sets the maximum effective timeout for a liveness probe.
  • MinProbeTimeout Gets or sets the minimum effective timeout for a liveness probe.
  • 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 ClusterMembershipOptions).
  • ProbeTimeout Gets or sets the initial timeout for liveness probes.
  • TableRefreshTimeout Gets or sets the period between fetching updates from the membership table.
  • UseLivenessGossip Gets or sets a value indicating whether membership updates are disseminated between hosts using gossip.