您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

服务分区状态枚举ServicePartitionStatus enum

类型:字符串type: string

服务结构服务分区的状态。The status of the service fabric service partition.

可能的值包括:Possible values are:

  • Invalid- 指示分区状态无效。Invalid - Indicates the partition status is invalid. 所有服务结构枚举的类型都无效。All Service Fabric enumerations have the invalid type. 值为 0。The value is zero.
  • Ready- 指示分区已准备就绪。Ready - Indicates that the partition is ready. 这意味着,对于无状态服务分区,至少有一个实例是向上的,对于有状态的服务分区,就绪副本的数量大于或等于 MinReplicaSetSize。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. 值为 1。The value is 1.
  • NotReady- 指示分区未就绪。NotReady - Indicates that the partition is not ready. 当其他状态不应用时,将返回此状态。This status is returned when none of the other states apply. 值为 2。The value is 2.
  • InQuorumLoss- 指示分区处于仲裁丢失状态。InQuorumLoss - Indicates that the partition is in quorum loss. 这意味着,启动并参与副本集的副本数小于此分区的 MinReplicaSetSize。This means that number of replicas that are up and participating in a replica set is less than MinReplicaSetSize for this partition. 值为 3。The value is 3.
  • Reconfiguring- 指示分区正在进行对其副本集的重新配置。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. 值为 4。The value is 4.
  • Deleting- 指示正在删除分区。Deleting - Indicates that the partition is being deleted. 值为 5。The value is 5.