Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: 本地临时文件清理机制优化 #2951

Closed
jsonwan opened this issue May 6, 2024 · 0 comments
Closed

perf: 本地临时文件清理机制优化 #2951

jsonwan opened this issue May 6, 2024 · 0 comments
Assignees
Labels
done 已上线到正式环境并验收通过 kind/enhancement 功能改进特性

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented May 6, 2024

  1. 删除空的父目录,避免空目录长期堆积,导致扫描文件时IO高负载;
  2. 调整触发频率,减少一次删除的文件数量。
@jsonwan jsonwan added kind/enhancement 功能改进特性 backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels May 6, 2024
@jsonwan jsonwan self-assigned this May 6, 2024
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 10, 2024
支持对多种日期时间格式的解析
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 10, 2024
1.优化制品库中本地文件清理逻辑,支持目录清理与子目录递归检测清理;
2.优化带心跳Redis锁的异常打印。
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 10, 2024
1.支持配置本地文件过期时间与是否删除。
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 10, 2024
1.支持配置本地文件过期时间与是否删除。
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 10, 2024
1.空目录按照创建时间判断是否删除;
2.单个节点处理失败后跳过。
jsonwan added a commit to jsonwan/bk-job that referenced this issue May 11, 2024
wangyu096 added a commit that referenced this issue May 11, 2024
perf: 本地临时文件清理机制优化 #2951
@bkjob-bot bkjob-bot added done 已上线到正式环境并验收通过 and removed backlog 需求初始状态,等待产品进行评估 todo 进入开发排期的状态,纳入了最近的迭代 labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done 已上线到正式环境并验收通过 kind/enhancement 功能改进特性
Projects
None yet
Development

No branches or pull requests

2 participants