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: mongodb数据支持自动清理 #2783 #2960

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liuliaozhong
Copy link
Collaborator

@liuliaozhong liuliaozhong commented May 8, 2024

执行日志按yyyy_MM_dd为集合名称,存在mongodb中,清理时,按集合名称删除集合,以快速删除集合数据;
沿用mysql归档中的表留天数(keep_days)、主任务;
清理:如keep_days=0,会清理当天之前的所有脚本执行、文件分发日志数据,keep_days=1,会清理昨天之前的所有脚本执行、文件分发日志数据。

@liuliaozhong liuliaozhong requested a review from wangyu096 May 8, 2024 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant