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

executor: Hide offline pumps/drainers #12862

Merged
merged 5 commits into from
Oct 28, 2019
Merged

Conversation

suzaku
Copy link
Contributor

@suzaku suzaku commented Oct 22, 2019

What problem does this PR solve?

Users find it confusing that offline pumps/drainers still appear when
they check the status.

What is changed and how it works?

Don't show offline pumps/drainers.

With pingcap/tidb-binlog#774 merged, binlogctl also hides offline pumps/drainers by default.
But with binlogctl, we can specifiy -show-offline-nodes to include offline pumps/drainers in the output.

Check List

Tests

  • Manual test

Code changes

Side effects

Related changes

Release note

`show drainer status` and `show pump status` hide offline pumps/drainers.

Users find it confusing that offline pumps/drainers still appear when
they check the status.
@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #12862 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master    #12862   +/-   ##
=========================================
  Coverage   80.059%   80.059%           
=========================================
  Files          465       465           
  Lines       107372    107372           
=========================================
  Hits         85961     85961           
  Misses       14934     14934           
  Partials      6477      6477

@WangXiangUSTC
Copy link
Contributor

LGTM

@WangXiangUSTC WangXiangUSTC added status/LGT1 Indicates that a PR has LGTM 1. and removed status/PTAL labels Oct 22, 2019
@crazycs520
Copy link
Contributor

/run-all-tests

2 similar comments
@sykp241095
Copy link
Member

/run-all-tests

@suzaku
Copy link
Contributor Author

suzaku commented Oct 24, 2019

/run-all-tests

@suzaku
Copy link
Contributor Author

suzaku commented Oct 24, 2019

/run-all-tests

@suzaku
Copy link
Contributor Author

suzaku commented Oct 28, 2019

/run-all-tests

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Oct 28, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Oct 28, 2019

/run-all-tests

@sre-bot sre-bot merged commit 9c9f79a into pingcap:master Oct 28, 2019
@suzaku suzaku deleted the hide-offline-nodes branch November 20, 2019 06:17
XiaTianliang pushed a commit to XiaTianliang/tidb that referenced this pull request Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/binlog status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants