AbsaOSS / AbsaOSS/enceladus

Need a way to clean up orphaned runs

未关闭
#1,241 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature Menas priority: low
主要语言
Scala
星标
33
派生
16
PR 合并指标
30 天内没有已合并 PR

描述

## Background
Currently, if a job is interrupted in a way that it didn't have a chance to send the failure request, the status of the job is 'Running' forever.

## Feature
We need to periodically check all jobs that are in 'Running' state for days and switch them to 'Failed' with the appropriate error.

## Proposed Solution [Optional]
1. Such periodic cleanup can be done in Menas itself. Checking interval can be 1 hour by default and can be configurable.
2. The maximum age of a job can be a configuration parameter as well.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。