Udostępnij za pośrednictwem


ServiceTypeHealthPolicy.MaxPercentUnhealthyReplicasPerPartition Property

Definition

Gets or sets the maximum allowed percentage of unhealthy replicas per partition.

The percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error. If the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning. The percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition. The computation rounds up to tolerate one failure on small numbers of replicas.

[Newtonsoft.Json.JsonProperty(PropertyName="maxPercentUnhealthyReplicasPerPartition")]
public int MaxPercentUnhealthyReplicasPerPartition { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="maxPercentUnhealthyReplicasPerPartition")>]
member this.MaxPercentUnhealthyReplicasPerPartition : int with get, set
Public Property MaxPercentUnhealthyReplicasPerPartition As Integer

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to