v1.0.2
This release contains minor fixes.
Changes
Microsoft.Azure.Functions.Worker.Extensions.DurableTask
- Fix a connection and memory leak with using
[DurableClient] DurableTaskClient client
input binding in functions.- The intention was for the input converter to cache and re-use the same client for the lifetime of an application. However, this logic had a flaw where the cache ended up being a miss on every binding, causing us to continually recreate and store clients. Each client would open a connection from worker back to host. Eventually all attempts to use these clients would fail as max outbound connections would be reached. The symptoms would manifest in different ways, but the most common would be: healthy function app -> connections exhausted over time -> all further attempts to use
DurableTaskClient
fail -> increase in function failures -> worker determined unhealthy and recycled -> new worker is healthy, rinse and repeat. - Azure/azure-functions-durable-extension#2440
- The intention was for the input converter to cache and re-use the same client for the lifetime of an application. However, this logic had a flaw where the cache ended up being a miss on every binding, causing us to continually recreate and store clients. Each client would open a connection from worker back to host. Eventually all attempts to use these clients would fail as max outbound connections would be reached. The symptoms would manifest in different ways, but the most common would be: healthy function app -> connections exhausted over time -> all further attempts to use
Microsoft.DurableTask.Worker
- Fix issue with
TaskOrchestrationContext.Parent
not being set.
NuGet Packages
Microsoft.Azure.Functions.Worker.Extensions.DurableTask v1.0.2
Microsoft.DurableTask.Abstractions v1.0.2
Microsoft.DurableTask.Client v1.0.2
Microsoft.DurableTask.Client.Grpc v1.0.2
Microsoft.DurableTask.Client.OrchestrationServiceShimClient v1.0.2
Microsoft.DurableTask.Worker v1.0.2
Microsoft.DurableTask.Worker.Grpc v1.0.2
Microsoft.DurableTask.Grpc v1.0.2
What's Changed
- Add FabricBot config for automated GitHub issue management by @davidmrdavid in #132
- Fix null parent instance details by @jviau in #137
- Update release notes by @jviau in #138
- Prepare v1.0.2 release by @jviau in #141
New Contributors
- @davidmrdavid made their first contribution in #132
Full Changelog: v1.0.1...v1.0.2