Reputation: 21
I have a stateful service and other couple of stateless services that runs under same Service fabric cluster and under same solution. When the deploymnet of the soln occurs, any chance that state of the stateful service gets lost ?Or just an upgarde happens and will the state is preserved? is there any configurations i should do to preserve the state?
Upvotes: 1
Views: 204
Reputation: 29780
The beauty of Reliable Collections in Azure Service Fabric stateful services is that you do not have to worry about things like data loss during rolling updates caused by deployments. The whole point of using Service Fabric is to facilitate high availably reliable (stateful) services.
Stateful services have their data replicated, you do not need to worry for dataloss and you do not have to do anything to preserve state.
Upvotes: 2