Partager via


StatefulServiceDescription.StandByReplicaKeepDuration Property

 

Applies To: Azure, Windows 10, Windows 8, Windows 8.1, Windows Server 2012 R2

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

Namespace:   System.Fabric.Description
Assembly:  System.Fabric (in System.Fabric.dll)

Syntax

public Nullable<TimeSpan> StandByReplicaKeepDuration { get; set; }

Property Value

Type: System.Nullable<TimeSpan>

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.

See Also

StatefulServiceDescription Class
System.Fabric.Description Namespace

Return to top