infoschema: Add new columns for information_schema.tiflash_tables (#25678)#25709
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
/run-all-tests |
|
@JaySon-Huang you're already a collaborator in bot's repo. |
|
/run_unit-test |
|
/run-unit-test |
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/run-check_dev |
|
@zhouqiang-cl PTAL |
|
/merge |
|
@JaySon-Huang: DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 6a31d5b |
|
/run-common-test |
cherry-pick #25678 to release-5.1
You can switch your code base to this Pull Request by using git-extras:
# In tidb repo: git pr https://github.com/pingcap/tidb/pull/25709After apply modifications, you can push your change to this PR via:
Signed-off-by: JaySon-Huang tshent@qq.com
What problem does this PR solve?
Issue Number: related to pingcap/tiflash#2229
Problem Summary: Suspicious that some TiFlash tasks hold snapshot for a long time, prevent PageStorage from GCing old PageFiles. We add some information about the oldest snapshot in TiFlash system tables and want to access them by TiDB system table
information_schema.tiflash_tables.What is changed and how it works?
Add column
STORAGE_{STABLE,DELTA,META}_OLDEST_SNAPSHOT_LIFETIMEandSTORAGE_{STABLE,DELTA,META}_OLDEST_SNAPSHOT_THREAD_IDforinformation_schema.tiflash_tablesRelated changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
select * from information_schema.tiflash_tables limit 1Side effects
Release note