I have a durable function which doesn't appear to crash but after first invocation just keeps executing the same function. After this first invocation trying to set breakpoints has no effect.
[30/11/2017 16:16:21] Function started (Id=972ee93c-ab61-4834-937c-207e8953821d) [30/11/2017 16:16:21] Executing 'CompileFeatureObservations' (Reason='', Id=972ee93c-ab61-4834-937c-207e8953821d) [30/11/2017 16:16:21] Starting Feature Compilation. [30/11/2017 16:16:21] Function completed (Success, Id=972ee93c-ab61-4834-937c-207e8953821d, Duration=58ms) [30/11/2017 16:16:21] Executed 'CompileFeatureObservations' (Succeeded, Id=972ee93c-ab61-4834-937c-207e8953821d) [30/11/2017 16:16:21] b540b650019244719a7f3a61e45735f4: Function 'CompileFeatureObservations (Activity)', version '' completed. ContinuedAsNew: False. IsReplay: False. Output: (62123 bytes). State: Completed. HubName: DurableFunctionsHub. AppName: . SlotName: . ExtensionVersion: 1.0.0.0.
The only factor that I can see seems to have influence is the size of the request payload although it is below the 65kb limit.
It is using the fan-out/fan-in pattern as described in the documentation. When the size of my task array gets to ~100 it seems to stop working and then go into the endless cycle.
Perhaps I have exceeded the fan-out limit? Is there a way to control the number of function "instances" spun up?
I'm using consumption plan.
The only way I can find to stop the behaviour is to stop the local storage emulator and delete and re-init the underlying localdb.
Does anyone have suggestions as to further troubleshoot?