-
Notifications
You must be signed in to change notification settings - Fork 720
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
*: add skip store limit option for scatter region #6593
Conversation
[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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6593 +/- ##
==========================================
- Coverage 74.17% 74.05% -0.13%
==========================================
Files 415 415
Lines 43920 43926 +6
==========================================
- Hits 32579 32529 -50
- Misses 8433 8468 +35
- Partials 2908 2929 +21
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
I wonder if the lightning scatter non-empty region, it's may cause tikv be busy and even influence the cluster if during the online import.
According to my knowledge online import should only scatter the empty region. like restore a new table without any traffic. @lance6716 can you confirm this? |
@nolouch one case is for parallel import (multiple lightning instances are running), lightning's progress is not synchronized to it will scatter non-empty region because other lightning instance has started ingestion. |
but in this case cluster cannot serve traffic right? @lance6716 |
Even the cluster do not serve, too many scatters also may let tikv has many pending snapshot, may let tikv not be normal. like too many pending peers. |
@3pointer @lance6716 @nolouch Any updates on this PR? |
I think it should be caller's responsibility to set the store limit for different situation. so at least give an option of scatter region to let caller decide the limitation. |
I think it's ok to no limit in multi-rocks because the cost of generating a snapshot is relatively small. so add a option or directly judge in pd both ok to me. |
fd8820a
to
fd24485
Compare
@rleungx: GitHub didn't allow me to request PR reviews from the following users: 3pointer. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
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. |
/hold cancel |
54f9277
to
56034ed
Compare
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
@3pointer: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In response to this: 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 ti-community-infra/tichi repository. |
/merge |
@JmPotato: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
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 ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 56034ed
|
53b0f2e
to
be2ebc2
Compare
/merge |
@rleungx: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
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 ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 91de394
|
@rleungx: Your PR was out of date, I have automatically updated it for you. If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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 ti-community-infra/tichi repository. |
What problem does this PR solve?
Issue Number: Close #6592
What is changed and how does it work?
This PR supports light peer for removing peer step. If we are doing scatter operation, there is an option to skip the store limit check.
Check List
Tests
Release note