question

KevinAzure avatar image
0 Votes"
KevinAzure asked ·

Azure Durable Functions - Getting Called Weirdly

I am using Azure Durable Functions for doing background 30 minutes job.

While my function being executed - another call happens - I added queryString to prevent this. But again same issue - this makes my code do double-insert to db problem

How to fix same?

azure-webapps-scaling
· 3
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.

Hi,

Could you please explain in details about the scenario. Also, if you can share the code of the call that you have mentioned above.

0 Votes 0 · ·
KevinAzure avatar image KevinAzure DASHLEENBHANDARI-MSFT ·

Seriously I think Azure Durable Functions is an Unreliable technology.

I executed 50 functions in the morning - towards evening I can see most of them being invoked automatically!

I used Terminate method on all functions - but one is not getting terminated.

Later I tested 1 function call, then 2nd function call, now I can see both getting executed. Why they are not terminating?

Should I clear the storage too? How does the code look like?

0 Votes 0 · ·

Hi Paul,

  1. Can you check in table storage and see the status of the instances of your function and whether they are showing as terminated?

  2. How are you terminating the durable instances? https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-api#terminate-instance

  3. Also can you confirm you don't have any other app or local copy of the code pointing to the same task hub? This is a common occurrence where another function app is left running unexpectedly running off the same resource and storage.

3281-2020-02-21-15h40-43.png

0 Votes 0 · ·

0 Answers