“Partition is below target replica or instance count” error after deploying service fabric application to public service fabric cluster

后端 未结 7 1544
青春惊慌失措
青春惊慌失措 2021-01-03 22:02

I have created a service fabric stateless reliable service, in which i used OWIN to host a web API. When I deployed the application to the Local cluster, it worked fine and

7条回答
  •  清酒与你
    2021-01-03 22:33

    I am using Azure Service Fabric to deploy my application and got this error.

    After investigation, I found that it was because "TargetReplicaSetSize" and "MinReplicaSetSize" exceeded my node number.

    To solve the problem, change "PartitionCount", "TargetReplicaSetSize" "MinReplicaSetSize" to 1 in ApplicationParameters/cloud.xml and re-deploy the application:

提交回复
热议问题