StatelessServicePartitionInfo

Information about a partition of a stateless Service Fabric service.

Properties

Name Type Required
HealthState string (enum) No
PartitionStatus string (enum) No
PartitionInformation PartitionInformation No
InstanceCount integer (int64) No
MinInstanceCount integer No
MinInstancePercentage integer No

HealthState

Type: string (enum)
Required: No

The health state of a Service Fabric entity such as Cluster, Node, Application, Service, Partition, Replica etc.

Possible values are:

  • Invalid - Indicates an invalid health state. All Service Fabric enumerations have the invalid type. The value is zero.
  • Ok - Indicates the health state is okay. The value is 1.
  • Warning - Indicates the health state is at a warning level. The value is 2.
  • Error - Indicates the health state is at an error level. Error health state should be investigated, as they can impact the correct functionality of the cluster. The value is 3.
  • Unknown - Indicates an unknown health status. The value is 65535.

PartitionStatus

Type: string (enum)
Required: No

The status of the service fabric service partition.

Possible values are:

  • Invalid - Indicates the partition status is invalid. All Service Fabric enumerations have the invalid type. The value is zero.
  • Ready - Indicates that the partition is ready. This means that for a stateless service partition there is at least one instance that is up and for a stateful service partition the number of ready replicas is greater than or equal to the MinReplicaSetSize. The value is 1.
  • NotReady - Indicates that the partition is not ready. This status is returned when none of the other states apply. The value is 2.
  • InQuorumLoss - Indicates that the partition is in quorum loss. This means that number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for this partition. The value is 3.
  • Reconfiguring - Indicates that the partition is undergoing reconfiguration of its replica sets. This can happen due to failover, upgrade, load balancing or addition or removal of replicas from the replica set. The value is 4.
  • Deleting - Indicates that the partition is being deleted. The value is 5.

PartitionInformation

Type: PartitionInformation
Required: No

Information about the partition identity, partitioning scheme and keys supported by it.


InstanceCount

Type: integer (int64)
Required: No

Number of instances of this partition.


MinInstanceCount

Type: integer
Required: No

MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.


MinInstancePercentage

Type: integer
Required: No

MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service.