Skip to content
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

add node-id cmd to specify drainer's node-id #706

Merged
merged 2 commits into from
Aug 13, 2019

Conversation

lichunzhu
Copy link
Contributor

What problem does this PR solve?

TOOL-1410

What is changed and how it works?

Modify drainer/server.go. If user specifies a node-id, drainer ID will be set as this value. If not, drainer will automatically generate a node ID referring to the listening host name and port.
cherry-pick #684

Check List

Tests

  • Unit test

Code changes

Side effects

Related changes

@lichunzhu
Copy link
Contributor Author

/run-all-tests

1 similar comment
@lichunzhu
Copy link
Contributor Author

/run-all-tests

Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@suzaku suzaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lichunzhu
Copy link
Contributor Author

/run-all-tests

@july2993 july2993 merged commit 5d4831a into pingcap:release-2.1 Aug 13, 2019
@lichunzhu lichunzhu deleted the czli/2.1/drainer/addNodeIDCMD branch September 2, 2019 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants