-
Notifications
You must be signed in to change notification settings - Fork 498
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
Fix heterogeneous code cause tidb rolling update bug #3322
Fix heterogeneous code cause tidb rolling update bug #3322
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3322 +/- ##
==========================================
+ Coverage 41.84% 41.89% +0.05%
==========================================
Files 159 159
Lines 16572 16690 +118
==========================================
+ Hits 6934 6992 +58
- Misses 8998 9045 +47
- Partials 640 653 +13
Flags with carried forward coverage won't be shown. Click here to find out more. |
/run-all-tests |
pkg/manager/member/template.go
Outdated
@@ -77,6 +77,7 @@ exec /tidb-server ${ARGS} | |||
`)) | |||
|
|||
type TidbStartScriptModel struct { | |||
ClusterName string |
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 not used, right?
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.
Old logic have this field, i think it is unused. I can remove it.
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
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
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-1.1 in PR #3324 |
Signed-off-by: ti-srebot <[email protected]> Co-authored-by: Mike <[email protected]>
* fix rolling update * remove unused field
What problem does this PR solve?
Fix heterogeneous code cause tidb rolling update bug .
What is changed and how does it work?
Non-heterogeneous cluster tidb startup use the old address format.
Check List
Tests
Code changes