-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic Concurrency "snapshotPersistenceEnabled" not working #3043
Comments
Turns out restarting the Function App manually from Portal created the file. However we did multiple deployments in the timespan of enabling the dynamic concurrency (with snapshot persistence), which should trigger a restart if I remember correctly? This is of course also not expected behavior since we want to avoid downtime by manually restarting the Function App. |
The manual restart only seemed to persist the concurrency config to storage once with the following contents: |
We want to use dynamic concurrency with snapshotPersistenceEnabled on our ServiceBus triggers, but it does not seems to be storing the concurrency configuration snapshots to the connected storage account.
Repro steps
Expected behavior
When dynamic concurrency is enabled together with snapshotPersistenceEnabled setting to true, concurrency configuration should be read/written to/from connected storage account so that a function instance does not have to relearn its concurrency settings from start.
Actual behavior
When dynamic concurrency is enabled together with snapshotPersistenceEnabled setting to true, concurrency settings should be saved and read from connected storage account.
Known workarounds
None.
Related information
I traced back the repository code that handles the concurrency snapshot persistence -> https://github.com/Azure/azure-webjobs-sdk/blob/7b8916156d27e6661d3e287a5902cdba98f953cd/src/Microsoft.Azure.WebJobs.Host.Storage/BlobStorageConcurrencyStatusRepository.cs. Initial log search debugging with following query :
shows that attempts to read the concurrencyStatus.json file are made:
GET https://storage account URL/azure-webjobs-hosts/concurrency/function name/concurrencyStatus.json
However, I do not see any PUT's/POSTS to create the file in the first place.
3.0.39 - WebJobs
5.13.4 - WebJobs.Extensions.ServiceBus
https://github.com/Azure/azure-webjobs-sdk/blob/7b8916156d27e6661d3e287a5902cdba98f953cd/src/Microsoft.Azure.WebJobs.Host.Storage/BlobStorageConcurrencyStatusRepository.cs
The text was updated successfully, but these errors were encountered: