-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
ddl: check the tiflash replica count when setting tiflash replica #18826
Conversation
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #18826 +/- ##
===========================================
Coverage 79.0778% 79.0778%
===========================================
Files 549 549
Lines 148742 148742
===========================================
Hits 117622 117622
Misses 21635 21635
Partials 9485 9485 |
Signed-off-by: crazycs520 <crazycs520@gmail.com>
/rebuild |
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.
Rest LGTM
Co-authored-by: Arenatlx <ailinsilence4@gmail.com>
Signed-off-by: crazycs520 <crazycs520@gmail.com>
This comment has been minimized.
This comment has been minimized.
@JaySon-Huang, the |
/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-check_dev_2 |
/run-unit-test |
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-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #18943 |
What problem does this PR solve?
Fix #18810
When setting the tiflash replica count, TiDB should check the replica count not more than the count of tiflash store, otherwise, the tiflash region replica will never available.
example:
What is changed and how it works?
Related changes
Check List
Tests
Side effects
Release note