Taier icon indicating copy to clipboard operation
Taier copied to clipboard

[Feature][自依赖实例过期策略] 自依赖实例过期处理策略

Open numbernumberone opened this issue 2 years ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

自依赖任务实例,如果在当前批次超时导致整个任务链路产生积压, 平台侧有什么解决策略? @vainhope :正在执行的跑完 跳过失效的部分实例 到最新的开始执行 image

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

numbernumberone avatar Apr 17 '23 14:04 numbernumberone

  1. 可以考虑用AUTOCANCELED(26)区分 是否属于部分失效的实例
  2. 2865的状态变更的情况 需要2864的任务执行结束之后去判断,否则 如果2864运行中过长 2865 开始变更为AUTOCANCELED 2866开始运行 可能会出现二个并行运行的实例
  3. AUTOCANCELED应该归为结束状态 防止对自依赖影响
  4. 上游AUTOCANCELED 下游任务状态应该也同步变更

vainhope avatar Apr 18 '23 03:04 vainhope

good

numbernumberone avatar Apr 18 '23 10:04 numbernumberone

  1. 2866 或 2867 执行的前提是2864 执行结束,且几分钟任务当天实例没有在运行中状态的。

numbernumberone avatar Apr 18 '23 12:04 numbernumberone