-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Conversation
tiflash_tables
and tiflash_segments
when tls is enabledtiflash_segments
and tiflash_tables
when some tiflash node is down
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
4 similar comments
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
@lidezhu merge failed. |
/run-all-tests |
1 similar comment
/run-all-tests |
/merge |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #19748 |
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
Check List
Tests
follow the steps in this issue: Select from system tables
tiflash_segments
andtiflash_tables
doesn't work correctly when some tiflash node is down #18701 and make sure the result meets the expectation.Release note
tiflash_segments
andtiflash_tables
when some tiflash node is down