Azure service fabric does not cancel with lots of tasks

0

I'm trying to test out various performance aspects of Azure Service Fabric to understand how it all works and have hit against some problems when cancelling a service.

In one particular test, I create 101 tasks, 50 reading a queue, 50 writing a queue and 1 showing progress and reporting it.

When the service gets stopped, for example just re-deploying the application I can see the cancellation token gets the request and some tasks cancel, but I see a lot of events in the event viewer basically saying

AsyncCalloutAdapter-22542743: end delegate threw an exception
   System.OperationCanceledException: Operation canceled. --->     System.Runtime.InteropServices.COMException: Operation aborted (Exception from   HRESULT: 0x80004004 (E_ABORT))
   at System.Fabric.Interop.NativeRuntime.IFabricStateReplicator2.EndReplicate(IFabricAsyncOperationContext context)
   at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
   --- End of inner exception stack trace ---

The only way to get this back is to either reset the local cluster.

When using a fewer number of tasks it all seems to work ok.

This is all using a local development cluster.

azure-service-fabric
asked on Stack Overflow Mar 1, 2016 by Nick Randell

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0