StatefulServiceDescription.ServicePlacementTimeLimit Property

Definition

Gets or sets the duration for which replicas can stay InBuild before reporting that build is stuck.

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

Property Value

The duration for which replicas can stay InBuild before reporting that build is stuck.

Remarks

ServicePlacementTimeLimit is the time for which partitions of the service can remain in the InBuild state before an error health report is generated to indicate that the build is stuck. If not specified, the default value is taken from the PlacementTimeLimit parameter in cluster settings for FailoverManager. Check PlacementTimeLimit config. This setting is useful when the PlacementTimeLimit parameter in cluster settings for FailoverManager is not appropriate for all services. In such cases, ServicePlacementTimeLimit can be used to specify the expected InBuild duration on a per-service basis.

Applies to