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

fix read failure from system tables tiflash_segments and tiflash_tables when some tiflash node is down #19714

Merged
merged 5 commits into from
Sep 3, 2020

Conversation

lidezhu
Copy link
Contributor

@lidezhu lidezhu commented Sep 2, 2020

What problem does this PR solve?

Issue Number: close #18701

Problem Summary: When some tiflash node is down, tidb will still try to fetch data from them and this makes the query failed.

What is changed and how it works?

What's Changed: Check whether tiflash http_port is open before fetch data from them.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

Release note

  • fix read failure from system tables tiflash_segments and tiflash_tables when some tiflash node is down

@lidezhu lidezhu requested a review from a team as a code owner September 2, 2020 09:20
@lidezhu lidezhu requested review from lzmhhh123 and removed request for a team September 2, 2020 09:20
@lidezhu lidezhu changed the title support read system tables tiflash_tables and tiflash_segments when tls is enabled fix read failure from system tables tiflash_segments and tiflash_tables when some tiflash node is down Sep 2, 2020
@github-actions github-actions bot added the sig/execution SIG execution label Sep 2, 2020
Copy link
Contributor

@crazycs520 crazycs520 left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 2, 2020
@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 2, 2020

/run-all-tests

4 similar comments
@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 2, 2020

/run-all-tests

@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 2, 2020

/run-all-tests

@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 2, 2020

/run-all-tests

@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 2, 2020

/run-all-tests

Copy link
Contributor

@lzmhhh123 lzmhhh123 left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Sep 3, 2020
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Sep 3, 2020
@lzmhhh123
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 3, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot
Copy link
Contributor

@lidezhu merge failed.

@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 3, 2020

/run-all-tests

1 similar comment
@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 3, 2020

/run-all-tests

@lidezhu
Copy link
Contributor Author

lidezhu commented Sep 3, 2020

/merge

@ti-srebot
Copy link
Contributor

@lidezhu Oops! auto merge is restricted to Committers of the SIG.See the corresponding SIG page for more information. Related SIGs: execution(slack).

@lzmhhh123 lzmhhh123 merged commit d0dfc77 into pingcap:master Sep 3, 2020
@lzmhhh123 lzmhhh123 deleted the support-tiflash-https branch September 3, 2020 04:51
ti-srebot pushed a commit to ti-srebot/tidb that referenced this pull request Sep 3, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #19748

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
4 participants