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

gc: clean expired trash files, delfiles and delslices #3022

Merged
merged 13 commits into from
Dec 6, 2022

Conversation

Hexilee
Copy link
Contributor

@Hexilee Hexilee commented Nov 25, 2022

Enhance the gc subcommand:

  • check and clean expired trash files
  • check and clean the delfiles
  • check and clean expired delslices

pkg/meta/interface.go Outdated Show resolved Hide resolved
pkg/meta/base.go Show resolved Hide resolved
pkg/meta/redis.go Show resolved Hide resolved
@SandyXSD
Copy link
Contributor

Also we'd better change the command description and printed information to reflect new changes.

Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
@Hexilee
Copy link
Contributor Author

Hexilee commented Dec 1, 2022

Also we'd better change the command description and printed information to reflect new changes.

changed.

Signed-off-by: xixi <hexilee@juicedata.io>
cmd/gc.go Outdated Show resolved Hide resolved
pkg/meta/redis.go Outdated Show resolved Hide resolved
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
Signed-off-by: xixi <hexilee@juicedata.io>
@Hexilee Hexilee requested a review from SandyXSD December 5, 2022 09:50
Signed-off-by: xixi <hexilee@juicedata.io>
@Hexilee Hexilee merged commit 1dfc957 into main Dec 6, 2022
@Hexilee Hexilee deleted the gc-clean-file-and-slices branch December 6, 2022 02:59
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.

None yet

2 participants