-
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
planner,executor,infoschema: add system tables tiflash_tables
and tiflash_segments
(#18092)
#18536
planner,executor,infoschema: add system tables tiflash_tables
and tiflash_segments
(#18092)
#18536
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@lidezhu please accept the invitation then you can push to the cherry-pick pull requests. |
/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
/run-all-tests |
3 similar comments
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-all-tests |
@crazycs520 PTAL |
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
Signed-off-by: crazycs520 <crazycs520@gmail.com>
/run-all-tests |
/run-all-tests |
cherry-pick #18092 to release-4.0
What problem does this PR solve?
we can read tiflash storage stat from tidb for the ease of debug.
What is changed and how it works?
What's Changed: add two new system tables
tiflash_tables
andtiflash_segments
.How it Works: it uses etcd client to get http port of tiflash nodes, and then get data from corresponding tiflash system tables through the http port.
Related changes
Check List
Tests
Release note
tiflash_tables
andtiflash_segments