@Jibin Johnson We appreciate your patience on this. The Microsoft Azure Functions Team has investigated the issue you reported on your Function Apps, where your functions stopped processing new invocations. This issue was mitigated by browsing the Function App in the Azure Portal.
Upon investigation, engineers discovered that after a regular scale in operation in response to Function App configured triggers, one of the instances was in an unhealthy state. The scale controller kept monitoring the healthiness of the Function App, however, was not able to determine with enough confidence that the unhealthy instance had to be removed.
Further investigation on the unhealthy instance showed that due to a race condition on the scale operation, after the Functions Runtime failed to start with "Did not find functions with language [dotnet-isolated]", it couldn't automatically recover as expected when it detects such errors as part of Function App initialization.
Once the Function App was browsed in the Azure Portal, the process started properly and your functions started processing invocations.
We are continuously taking steps to improve the Azure Functions service and our processes to ensure such incidents do not occur in the future, and in this case it includes (but is not limited to):
- Improve the Function App Health Checks and trigger monitoring to ensure invocations are not missed due to unhealthy instances
- Ensure Placeholders are completely initialized before they are specialized: https://github.com/Azure/azure-functions-host/issues/9444
Please keep the track of the fix here: https://github.com/Azure/azure-functions-host/issues/9477
This has the fix mitigation to address this issue due to race condition.
We apologize for any inconvenience.
Regards,
The Microsoft Azure Team
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.