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

seedPeer diskGCThresholdPercent configuration does not take effect #3030

Open
daijiezou opened this issue Jan 16, 2024 · 2 comments
Open

seedPeer diskGCThresholdPercent configuration does not take effect #3030

daijiezou opened this issue Jan 16, 2024 · 2 comments
Labels

Comments

@daijiezou
Copy link

Bug report:

when use storage thresholdPercent more than seedpeer.persistence.diskGCThresholdPercent, the gc does not take effect

Expected behavior:

How to reproduce it:

configure seedPeer persistence,use local-path storageClass

Environment:

  • Dragonfly version: 2.1.24
  • OS: ubuntu18.04
  • Kernel (e.g. uname -a):
  • Others:
@daijiezou daijiezou added the bug label Jan 16, 2024
@daijiezou
Copy link
Author

daijiezou commented Jan 16, 2024

image image image I found that the method disk.Usage is used in the program, but this value is actually inaccurate.

@daijiezou
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant