-
Notifications
You must be signed in to change notification settings - Fork 312
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
Support deploy TiFlash on multi-disks with "storage" configurations since v4.0.9 #931
Support deploy TiFlash on multi-disks with "storage" configurations since v4.0.9 #931
Conversation
Codecov Report
@@ Coverage Diff @@
## master #931 +/- ##
===========================================
- Coverage 55.48% 26.37% -29.12%
===========================================
Files 263 204 -59
Lines 19250 15287 -3963
===========================================
- Hits 10681 4032 -6649
- Misses 6864 10504 +3640
+ Partials 1705 751 -954
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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 don't think it's a good idea for TiUP Cluster to be aware of what config
of a server node is, it's designed to be an interface by intend.
Maybe we can reuse current specification of data_dir
and use the first item in the list as main.dir
, so that the specification of other components could remain unchanged.
@AstroProfundis The current specification of
is equal to:
But if users want to fully make use of their disks IO after v4.0.9, they need to manually change their configs like this
|
These configurations are related to the directories to store data. We need to detect conflict directories when deploying, remove them after TiFlash gets destroyed. And validate them when they are changed. |
OK that sounds reasonable to me |
After a cluster destroyed, the directories defined in "storage.*" didn't get destroyed. Do you have any idea to solve this problem? @AstroProfundis @lucklove |
IMO, we shouldn't add the function |
Add validator about tiflash storage configuration Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
ebdcbfa
to
745bdac
Compare
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Have added a document about manual test cases and result in the PR description. |
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?
enhancement for TiFlash multi-disks deployment
TiFlash has added some new configurations (storage.*) to improve performance under multi-disk deployment, since v4.0.9.
This PR
What is changed and how it works?
Specification.Validate
will check whether the configuration in TiFlash spec is valid or notCheck List
Tests
TiUP test cases for TiFlash multi-disks
Code changes
Side effects
Related changes
Release notes: