I have a standalone ASP.NET Core service (RC1) running in my Azure Service Fabric cluster. It has the following manifest:
<ServiceManifest Name="MyServicePkg" Version="1.0.2" ...> <ServiceTypes> <StatelessServiceType ServiceTypeName="MyServiceType" /> </ServiceTypes> ... </ServiceManifest>
My cluster has hosted properties configured. I have 5 servers with "nodeType = Backend" and 3 servers with "nodeType = Frontend".
I would like to update my service and indicate that it can only be hosted on the Backend nodes. This is my updated manifest:
<ServiceManifest Name="MyServicePkg" Version="1.0.3" ...> <ServiceTypes> <StatelessServiceType ServiceTypeName="MyServiceType"> <PlacementConstraints>(nodeType==Backend)</PlacementConstraints> </StatelessServiceType> </ServiceTypes> ... </ServiceManifest>
However, if I am currently updating, I get the following error:
Start-ServiceFabricApplicationUpgrade: default service descriptions should not be changed as part of the update. Changed default service: Fabric: / MyApp / MyService
Why can't update restrictions be updated?
Should I delete and re-create the service? This would seem very problematic for me, because it will lead to downtime and data loss for stateful services.
source share