Azure / durabletask

Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
Apache License 2.0
1.47k stars 287 forks source link

Fix Azure Storage HNS Support #1123

Open wsugarman opened 2 days ago

wsugarman commented 2 days ago

This PR fixes a bug when enumerating the lease blobs. When hierarchical namespaces (HNS) are enabled for a storage account, the "List Blobs" API returns the folder itself as a "blob" in the response (in addition to the blobs themselves), which results in a NullReferenceException. This PR skips those blobs by checking for the internal hdi_isfolder metadata property.

This PR also includes a refactor of how projects/filters are done on top of paginated data.