question

RyanRepe-7136 avatar image
0 Votes"
RyanRepe-7136 asked ·

Why can't I start a stateful service in azure service fabric cluster?

Hi,

I'm new to service fabric cluster, and I have a problem with stateful services. I tried creating a single node cluster in azure, and first tried to deploy a stateless service, and it just worked fine. But, when I tried a stateful service, it always gives an error. I'm using a Free Trial subscription, is there something to do with it? Or, if not, is there another way of setting it up, that I can run a stateful service in azure with a Free subscription?

Please someone help. Thanks in advance.

azure-service-fabric
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

vipullag-MSFT avatar image
2 Votes"
vipullag-MSFT answered ·

@RyanRepe-7136 Free Trail Subscriptions has noting to do with this issue.

Stateful service runs on multiple replicas (by default 3 partitions) to take care of data failures. As you are running a single node cluster you are seeing issues. To avoid data loss, it is recommended to run stateful service on more nodes. Please check this FAQ document for mode information.

In ApplicationManifest.xml you can set the Replica count Default value to 1 (by default it is 3, but this is not recommended for stateful service).

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.