我目前面临一个奇怪的问题。
随机(我猜)我的azure持久函数调用
被延迟>10min
触发。
我的理解是控制队列的租约有问题。
我正在使用消费计划
。所以我想知道缩小/缩小
机制是否与我的耐用功能
正常工作。我的感觉是,主机实例
获取租约,然后进入耗尽模式 -> 回收等
,并在释放之前的10分钟
内保留租约。
我的感觉是,这是在一段时间不活动之后发生的。
你见过这样的行为吗?
最佳答案
今天,我收到了产品团队的最新消息,表明该问题是由 Durable Function 当前使用的租赁管理逻辑引起的。当实例关闭时可能会发生这种情况。
此问题特定于 Azure 存储后端。
This issue has been existing for a while. We're trying to refactor the current Lease Management logic with hope to fix such issue, but no clear ETA yet. You can subscribe to Orchestrations freezing mid-execution · Issue #2207 · Azure/azure-functions-durable-extension (github.com) to get the notification when the fix is ready.
关于azure - 延迟触发的耐用功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75061415/