发布日期: 2025-07-18
版本号: v1.15.8

Dapr 1.15.8 版本更新包含一项错误修复,主要解决在高吞吐场景下,更新(upsert)作业或 Actor 提醒时可能导致作业无法触发的问题。该问题源于调度器在高并发情况下检测到新旧作业状态冲突,从而停止触发该主机上的所有作业。新版本通过在该场景下忽略调度器的冲突检测来解决此问题。

更新内容 (中文)

Dapr 1.15.8

本次更新包含错误修复:

防止在高吞吐场景中因任务未触发导致更新插入问题

问题描述

在高任务触发吞吐场景中,更新插入任务(或 Actor 提醒)可能导致任务无法触发。

影响范围

在高吞吐场景中,任务(或 Actor 提醒)可能无法被触发。

根本原因

调度器会检测到新旧任务状态在触发时存在冲突,导致该主机上不再触发任何任务。

解决方案

在高吞吐场景中更新插入任务(或 Actor 提醒)时,忽略调度器中的冲突检测。

更新内容 (原始)

Dapr 1.15.8

This update includes bug fixes:

Prevent Jobs from not triggering upserting in high throughput scenarios

Problem

Upserting a Job (or Actor reminder) in high job trigger throughput scenarios could result in the Job not being triggered.

Impact

Jobs (or Actor reminders) could not be triggered in high throughput scenarios.

Root cause

Scheduler would find a conflict in jobs being triggered between the old and new job state, and would result in no more jobs to be triggered on that host.

Solution

Ignore the conflict in the scheduler when upserting a job (or Actor reminder) in high throughput scenarios.

下载链接