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

diskcache.TrimCheckIntervalSec successd seem to not take effect. #2896

Closed
caoxianfei1 opened this issue Nov 15, 2023 · 0 comments
Closed

diskcache.TrimCheckIntervalSec successd seem to not take effect. #2896

caoxianfei1 opened this issue Nov 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@caoxianfei1
Copy link
Contributor

Describe the bug (描述bug)
client.yaml:

diskCache.fullRatio: 90
diskCache.safeRatio: 70
diskCache.trimRatio: 50
diskCache.maxUsableSpaceBytes: 10737418240
diskCache.maxFileNums: 1000000
diskCache.trimCheckIntervalSec: 50000

First, write a file so that the capacity of the cache disk is equal to 6.9G that 7G should be in the full state. Then adjust the diskTrimCheckIntervalSec to 5s, and then observe the change in the usage capacity of the cache disk. It seems that there is no decrease and is still 6.9G.

image-20231114172238712

To Reproduce (复现方法)

Expected behavior (期望行为)

Versions (各种版本)
OS:
Compiler:
branch:
commit id:

Additional context/screenshots (更多上下文/截图)

@caoxianfei1 caoxianfei1 added the bug Something isn't working label Nov 15, 2023
@caoxianfei1 caoxianfei1 changed the title Modify the diskcache.TrimCheckIntervalSec successd but it didn't seem to take effect. diskcache.TrimCheckIntervalSec successd seem to not take effect. Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants