-
Notifications
You must be signed in to change notification settings - Fork 131
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
pump/: Fix get L0 files num and trigger vlog.gcTS step by step #648
Conversation
1, Add a API to trigger gc 2, Check L0 files by *GetProperty* instead of Stats Stats can't get the right L0 files num, see: https://github.com/syndtr/goleveldb/pull/283/files 3, call vlog.gcTS step by step, help free space quickly
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
@@ -654,6 +663,10 @@ func (a *Append) doGCTS(ts int64) { | |||
} | |||
break | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add log for kv gc and vlog gc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add in 5e91e87
Rest LGTM |
only one new commit syndtr/goleveldb@02440ea Fix the stat about levels of the Stats API
LGTM |
/run-all-tests |
…ap#648) 1, Add a API to trigger gc 2, Check L0 files by GetProperty instead of Stats Stats can't get the right L0 files num, see: https://github.com/syndtr/goleveldb/pull/283/files 3, call vlog.gcTS step by step, help free space quickly 4, update goleveldb dependency only one new commit syndtr/goleveldb@02440ea Fix the stat about levels of the Stats API
…#658) 1, Add a API to trigger gc 2, Check L0 files by GetProperty instead of Stats Stats can't get the right L0 files num, see: https://github.com/syndtr/goleveldb/pull/283/files 3, call vlog.gcTS step by step, help free space quickly 4, update goleveldb dependency only one new commit syndtr/goleveldb@02440ea Fix the stat about levels of the Stats API
What problem does this PR solve?
Refine gc of pump
What is changed and how it works?
1, Add a API to trigger gc
2, Check L0 files by GetProperty instead of Stats
Stats can't get the right L0 files num, see:
https://github.com/syndtr/goleveldb/pull/283/files
3, call vlog.gcTS step by step, help free space quickly
4, update goleveldb dependency
only one new commit
syndtr/goleveldb@02440ea
Fix the stat about levels of the Stats API
Check List
Tests
call
debug/gc/trigger
Code changes
Side effects
Related changes