-
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
limit gc speed #620
limit gc speed #620
Conversation
pump/storage/storage.go
Outdated
time.Sleep(5 * time.Second) | ||
continue | ||
} | ||
if stats.LevelTablesCounts[0] >= l0Trigger { |
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.
output log
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 a82e66f
Rest LGTM |
/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 |
/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
What problem does this PR solve?
limit gc rate to avoid affect normal write.
update goleveldb for:
What is changed and how it works?
stop delete data when L0 file number reach the condition need to compact
Check List
Tests
Code changes
Side effects
Related changes
tidb-ansible
repository