发布日期: 2025-08-28
版本号: v1.15.11

Dapr 1.15.11版本包含一个错误修复:解决了工作流编排器在错误发生后不重试的问题。此前,工作流在出错后即使重试状态未改变,也会陷入冻结并无限期卡住,直到重启。根本原因在于编排器处理器在重试后工作流状态未变化时不再重试。修复后,即使重试后状态未改变,编排器也将继续重试工作项,从而避免了工作流持续卡住的情况。

更新内容 (中文)

Dapr 1.15.11

此次更新包含错误修复:

工作流编排器错误后不重试的问题

问题

工作流在发生错误后会进入冻结状态,重试后状态未发生变化。

影响

工作流在错误发生后会无限期卡住,直至重启。

根本原因

当编排器出错时,如果重试后工作流状态未发生改变,工作流编排器处理器将不会重试工作项。

解决方案

即使重试后工作流状态未发生变化,工作流编排器处理器现在也会在编排器出错时重试工作项。

更新内容 (原始)

Dapr 1.15.11

This update includes bug fixes:

Workflow orchestrator would not retry after error

Problem

A workflow would become in a frozen state after an error occurred and state did not change after a retry.

Impact

Workflows would become stuck indefinitely after an error, until restart.

Root cause

The workflow orchestrator processor would not retry a work item in the event of a orchestrator error if the state of the workflow did not change after the retry.

Solution

The workflow orchestrator processor will now retry a work item in the event of an orchestrator error, even if the state of the workflow did not change after the retry.

下载链接