Condividi tramite


StatefulServiceDescription.StandByReplicaKeepDuration Property

Definition

Gets or sets the definition on how long StandBy replicas should be maintained before being removed.

public TimeSpan? StandByReplicaKeepDuration { get; set; }
member this.StandByReplicaKeepDuration : Nullable<TimeSpan> with get, set
Public Property StandByReplicaKeepDuration As Nullable(Of TimeSpan)

Property Value

The definition on how long StandBy replicas should be maintained before being removed.

Remarks

Sometimes a replica will be down for longer than the ReplicaRestartWaitDuration. In these cases a new replica will be built to replace it. Sometimes however the loss is not permanent and the persistent replica is eventually recovered. This now constitutes a StandBy replica. StandBy replicas will preferentially be used in the case of subsequent failures or resource balancing actions, since they represent persistent state that already exists and which can be used to expedite recovery. The StandByReplicaKeepDuration defines how long such StandBy replicas should be maintained before being removed.

Applies to