Skip to content

add cleaner for trashed ScaleDB databases - #913

Open
zwfxxxxx wants to merge 1 commit into
masterfrom
feature/scaledb-trash-cleaner
Open

zwfxxxxx wants to merge 1 commit into
masterfrom
feature/scaledb-trash-cleaner

Conversation

@zwfxxxxx

Copy link
Copy Markdown
Contributor

No description provided.

seafile-dev

This comment was marked as low quality.

@seafile-dev seafile-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: Approve

已复核现有阻塞意见: 对整数参数使用 格式化,命令行参数会被正确转换为字符串;当前实现可以按 24 小时间隔调用清理命令。未发现新的阻塞问题。

@seafile-dev seafile-dev left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

复核结论:run() 使用 "%s" % arg 格式化整数参数时会得到字符串,清理命令参数可被 Django 的 int 解析;此前的阻塞判断不成立。当前实现未发现新的阻塞问题。

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.

2 participants