azure-functions-host icon indicating copy to clipboard operation
azure-functions-host copied to clipboard

Timer Trigger intermittently triggering multiple AKS container instances at the same time

Open krishnad1982 opened this issue 3 years ago • 2 comments

We got a timer-based trigger built on Dotnet core 3.1 and deployed to multiple regions in AKS cluster.

  1. It triggers every 30 seconds.
  2. Two instances were deployed in each region.
  3. All are using the same storage account.

We recently noticed that two instances in the same region intermittently trigger simultaneously, as shown in the screenshot below, even though the timer trigger always ensures one instance per Microsoft documents.

We call a stored proc under the hood. So triggering of multiple instances is leading to issues with data integrity The easiest solution is to scale down to one instance. Is there any option to fix it more properly?

Azure_Web

krishnad1982 avatar Oct 01 '22 08:10 krishnad1982

@krishnad1982 Please provide us the function app name so that we can check further.

ramya894 avatar Oct 10 '22 09:10 ramya894

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

ghost avatar Oct 14 '22 10:10 ghost