StatefulServiceDescription.ReplicaRestartWaitDuration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the duration, in seconds, between when a replica goes down and when a new replica is created.
public TimeSpan? ReplicaRestartWaitDuration { get; set; }
member this.ReplicaRestartWaitDuration : Nullable<TimeSpan> with get, set
Public Property ReplicaRestartWaitDuration As Nullable(Of TimeSpan)
Property Value
The duration as a TimeSpan object.
Remarks
When a persistent replica goes down, this timer starts. When it expires Service Fabric will create a new replica on any node in the cluster. This configuration is to reduce unnecessary state copies. When a persisted replica goes down, the system waits for it to come back up for ReplicaRestartWaitDuration seconds before creating a new replica which will require a copy. Note that a replica that is down is not considered lost, yet.
The default value is 1800 seconds (30 minutes).