Questions tagged [service-fabric-stateful]
222 questions
2
votes
0 answers
How do I get cause of Aggregte Exception in Service Fabric?
I am getting an Aggregate exception when deploying a guest application into my local cluster
Unfortunately the error message is useless
2>Test-ServiceFabricApplicationPackage : One or more errors occurred.
2>At C:\Program Files\Microsoft…

Paul
- 2,773
- 7
- 41
- 96
2
votes
0 answers
Deleting Service Fabric Actor doesn't appear to clear state on D: (Temp Storage drive)
We appear to have encountered an issue within a Service Fabric cluster where by the state of an Actor service has grown to the point where the Temporary Storage (D:) drive had filled up. As I understand, Actor state and reliable collection state is…

bardoyle
- 21
- 2
2
votes
3 answers
Service Fabric - storing a List in StateManager for a reliable actor
One of my use cases requires storing all events between "start" and a "stop" events from a single event producer. We will be using a reliable actor to process this data and summarize after "stop" event is received. The straight forward way to store…

maulik13
- 3,656
- 1
- 25
- 36
2
votes
2 answers
Send a message from one microservice to another in Azure Service Fabric (APIs)
What is the best architecture, using Service Fabric, to guarantee that the message I need to send from Service 1 (mostly API) to Service 2 (mostly API) does not get ever lost (black arrow)?
Ideas:
1
1.a. Make service 1 and 2 stateful services. Is…

Erick B
- 478
- 5
- 11
2
votes
1 answer
When or what's the best use to override RunAsync method of Stateless service in Service Fabric
I've been using stateless service programming model but I haven't really override the RunAsync method to run application logic. When would you normally override this method?

alltej
- 6,787
- 10
- 46
- 87
2
votes
1 answer
Automatically expire Service Fabric Reliable Dictionary objects via RunAsync
I'm trying to add automated deletions to expired reliable dictionary objects and it looks like I have to implement my own way according to this: https://stackoverflow.com/a/36466890/7293543
My approach was to use the "RunAsync" task and have it…

TheSugoiBoi
- 160
- 1
- 13
2
votes
1 answer
MassTransit And Service Fabric Stateful Service?
I've been trying to come up with a demo of a website that uses MassTransit with RabbitMQ to post messages to a service running on Service Fabric as a Stateful service.
Everything was going fine, my client would post a message:
IBusControl bus =…

Mike
- 65
- 4
2
votes
2 answers
Azure Service Fabric Reliable Collection and other Persistent Store
I am very new to Service Fabric.
Is Service Fabric recommends to use only Reliable Collections to store ALL the data for an application?
What if I use SQL DB to persist all my business data and use Reliable Collection to lazily persist to SQL DB…

CGSK
- 43
- 8
2
votes
1 answer
What do the EndPoints configure in the ServiceManifest of an Service Fabric Service?
We have a Service Fabric Service project with multiple services: Actors, Stateful services and Stateless services combined into one ServiceManifest.
Two stateful services did not work: the constructors were called, the communicationlisteners…

Michiel Overeem
- 3,894
- 2
- 27
- 39
2
votes
1 answer
IReliableQueue Enqueue serialization error
I am using a Reliable Queue in my Stateful service fabric application.
When I am trying to Enqueue an Item which, the Enqueue method is throwing an exception
the code used is
protected override async Task RunAsync(CancellationToken…

Binu Vijayan
- 803
- 1
- 9
- 24
1
vote
0 answers
Some Service Fabric stateful service replica's stuck
I have a Service Fabric cluster running multiple applications and each application consists of multiple (stateful and stateless) services. 2 of these services (both stateful) regularly have issues where some partition's replica's are stuck with the…

crates_barrels
- 988
- 13
- 15
1
vote
0 answers
IAsyncEnumerator item becomes null
While iterating my ReliableDictionary with an enumerator, the "Current.Value" returns null because the line "totalLength += val.Length;" throws NullPointerException.
How is this possible?
public async Task RemoveItemsPeriodically()
{
try
{
…

Sammy
- 885
- 3
- 13
- 32
1
vote
1 answer
Service Fabric - How to repair a failing stateful application
I have a stateful service that configures state backups for the primary replica on RunAsync using an Azure storage account.
The other day someone inadvertently deleted the storage account being used for backups. On our next deployment, the services…

Josh
- 1,648
- 8
- 27
- 58
1
vote
1 answer
Service Fabric - Timeout waiting for Replication
I am getting the following error when I try to commit a really big transaction
System.TimeoutException: Timed out waiting for replication; id=a633f605-ef3a-480c-b80e-83a5be3bd610@132477999374053794@urn:WorkElements/dataStore@132471608259433275,…

Josh
- 1,648
- 8
- 27
- 58
1
vote
1 answer
Service Fabric - How to enable BackupRestoreService on my local dev cluster
I would like to get the backup and restore related functionality working inside the service fabric explorer for my local dev cluster. Any action I take related to backup/restore in the cluster manager ui throws a service not found exception…

Josh
- 1,648
- 8
- 27
- 58