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

binlogctl: Only show offline nodes when explicitly told so #774

Merged
merged 2 commits into from
Oct 22, 2019

Conversation

suzaku
Copy link
Contributor

@suzaku suzaku commented Oct 17, 2019

What problem does this PR solve?

Some users complain that pump/drainer nodes that have been turn off still appears in the list.

What is changed and how it works?

Hide offline nodes by default, only show them when -show-offline-nodes is set.

Check List

Tests

  • Manual test
    I set a drainer to offline and then check with binlogctl drainers.

Code changes

Side effects

Related changes

  • Need to update the documentation

@suzaku
Copy link
Contributor Author

suzaku commented Oct 17, 2019

/run-all-tests

@suzaku
Copy link
Contributor Author

suzaku commented Oct 17, 2019

/run-integration-tests

@suzaku suzaku force-pushed the hide-offline-nodes-by-default branch from d4858c2 to bece556 Compare October 17, 2019 08:26
@suzaku
Copy link
Contributor Author

suzaku commented Oct 17, 2019

/run-all-tests

@IANTHEREAL
Copy link
Collaborator

Good Job! LGTM

Copy link
Contributor

@WangXiangUSTC WangXiangUSTC left a comment

Choose a reason for hiding this comment

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

LGTM

@suzaku
Copy link
Contributor Author

suzaku commented Oct 19, 2019

@WangXiangUSTC Could you show me the document that I need to update.

@suzaku
Copy link
Contributor Author

suzaku commented Oct 20, 2019

/run-all-tests

@WangXiangUSTC
Copy link
Contributor

@suzaku
Copy link
Contributor Author

suzaku commented Oct 21, 2019

@WangXiangUSTC OK

@WangXiangUSTC
Copy link
Contributor

@suzaku we can merge this pr now and update doc later, just make sure doc is updated before release

@zyxbest
Copy link

zyxbest commented Oct 21, 2019

/run-all-tests

@suzaku
Copy link
Contributor Author

suzaku commented Oct 22, 2019

pingcap/docs-cn#1968

@WangXiangUSTC Document updated.

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.

5 participants