-
Notifications
You must be signed in to change notification settings - Fork 288
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
kv/client: fix token counter in region scan limiter (#1979) #2037
kv/client: fix token counter in region scan limiter (#1979) #2037
Conversation
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.
Approve in advance, please merge this PR once it's ready.
160ddb2
to
e95954d
Compare
// background workerpool size, the workrpool is shared by all goroutines in cdc server | ||
WorkerPoolSize int `toml:"worker-pool-size" json:"worker-pool-size"` | ||
// region incremental scan limit for one table in a single store | ||
RegionScanLimit int `toml:"region-scan-limit" json:"region-scan-limit"` |
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.
This is part of cherry-pick from #1899
/run-all-tests |
/run-all-tests |
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3e09b02
|
Codecov Report
@@ Coverage Diff @@
## release-5.0 #2037 +/- ##
================================================
Coverage ? 53.9680%
================================================
Files ? 164
Lines ? 17540
Branches ? 0
================================================
Hits ? 9466
Misses ? 7077
Partials ? 997 |
2b07a0a
to
3255626
Compare
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3255626
|
/run-unit-tests |
/merge |
/run-all-tests |
/run-unit-tests |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: fdf1b3e
|
@ti-chi-bot: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is an automated cherry-pick of #1979
What problem does this PR solve?
What is changed and how it works?
onRegionFail
, which may lead to region loss, the error region should be re-dispatched, but ignore in error channel. (This Fix has been verified by manual test in the next part)Check List
Tests
Release note