-
Notifications
You must be signed in to change notification settings - Fork 304
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
*: remove tcp_port for tiflash >= 7.1.0 #2220
*: remove tcp_port for tiflash >= 7.1.0 #2220
Conversation
@@ -146,7 +146,7 @@ func (inst *TiFlashInstance) checkConfigOld(deployDir, clusterManagerPath string | |||
}() | |||
|
|||
// Write default config to buffer | |||
if err := writeTiFlashConfigOld(flashBuf, version, inst.TCPPort, inst.Port, inst.ServicePort, inst.StatusPort, | |||
if err := writeTiFlashConfigOld(flashBuf, version, inst.Port, inst.ServicePort, inst.StatusPort, |
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 think we can not remove tcp port before tiflash 7.0
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.
Right, it'll cause single-node multi-instance conflict on 9000 port. Thanks for reminding.
Addressed.
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2220 +/- ##
=======================================
Coverage 50.48% 50.49%
=======================================
Files 320 320
Lines 33671 33678 +7
=======================================
+ Hits 16998 17003 +5
- Misses 14621 14623 +2
Partials 2052 2052
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@Lloyd-Pottiger: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
/approve |
/lgtm |
[LGTM Timeline notifier]Timeline:
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaaaaaaang, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Remove tiflash tcp_port config for tiflash >= 7.1.0.
What is changed and how it works?
Check List
Tests
Code changes
Side effects
Related changes
Release notes: