Redigera

Dela via


ClusterMembershipOptions Class

Definition

Settings for cluster membership.

public class ClusterMembershipOptions
type ClusterMembershipOptions = class
Public Class ClusterMembershipOptions
Inheritance
ClusterMembershipOptions

Constructors

ClusterMembershipOptions()

Fields

DEFAULT_DEFUNCT_SILO_CLEANUP_PERIOD
DEFAULT_DEFUNCT_SILO_EXPIRATION
DEFAULT_LIVENESS_DEATH_VOTE_EXPIRATION_TIMEOUT
DEFAULT_LIVENESS_ENABLED
DEFAULT_LIVENESS_EXPECTED_CLUSTER_SIZE
DEFAULT_LIVENESS_I_AM_ALIVE_TABLE_PUBLISH_TIMEOUT
DEFAULT_LIVENESS_MAX_JOIN_ATTEMPT_TIME
DEFAULT_LIVENESS_NUM_MISSED_PROBES_LIMIT
DEFAULT_LIVENESS_NUM_PROBED_SILOS
DEFAULT_LIVENESS_NUM_TABLE_I_AM_ALIVE_LIMIT
DEFAULT_LIVENESS_NUM_VOTES_FOR_DEATH_DECLARATION
DEFAULT_LIVENESS_PROBE_TIMEOUT
DEFAULT_LIVENESS_TABLE_REFRESH_TIMEOUT
DEFAULT_LIVENESS_USE_LIVENESS_GOSSIP
DEFAULT_VALIDATE_INITIAL_CONNECTIVITY

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.

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