-
Notifications
You must be signed in to change notification settings - Fork 639
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
feat(master): change ip address of nodes including masternode, metanode and datanode #3268
base: master
Are you sure you want to change the base?
Conversation
…cubefs#3120 Signed-off-by: hooklee2000 <[email protected]>
✅ Deploy Preview for cubefs-check ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: hooklee2000 <[email protected]>
Signed-off-by: hooklee2000 <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3268 +/- ##
==========================================
+ Coverage 40.49% 41.87% +1.37%
==========================================
Files 603 581 -22
Lines 125057 119940 -5117
==========================================
- Hits 50643 50220 -423
+ Misses 70051 65404 -4647
+ Partials 4363 4316 -47 ☔ View full report in Codecov by Sentry. |
Fixes: #3120
Motivation
change ip address of nodes including masternode, metanode and datanode
Modifications
id meta node id
srcAddr source address, such as ip:port
targetAddr target address, such as ip:port
curl -v 'http://127.0.0.1:17010/metaNode/changeAddr?id=[id]&srcAddr=[ip:port]&targetAddr=[ip:port]' | jq .
id data node id
srcAddr source address, such as ip:port
targetAddr target address, such as ip:port
curl -v 'http://127.0.0.1:17010/dataNode/changeAddr?id=[id]&srcAddr=[ip:port]&targetAddr=[ip:port]' | jq .
Types of changes
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
Documentation
doc
doc-required
doc-not-needed
doc-complete
Review Expection
in-two-days
weeks
free-time
whenever
Matching PR in forked repository
PR in forked repository: