-
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
Avoid repeated calls of NewIterator which might be slow (#718 & #722) #720
Conversation
# Conflicts: # pump/storage/storage.go
/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 |
1 similar comment
/run-all-tests |
/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1 |
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
# Conflicts: # pump/storage/storage.go
/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1 |
What problem does this PR solve?
When the size of metadata(storage with leveldb) grown very large, pump storage gc will be very slowly. The reason for this bug is the seek operation in goleveldb spend too much time.
What is changed and how it works?
cherry-pick #718 and #722
Check List
Tests
Code changes
Side effects
Related changes
tidb-ansible
repository