-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Troubleshoot a TiFlash Cluster: Add four more problems and their solutions #7277
Troubleshoot a TiFlash Cluster: Add four more problems and their solutions #7277
Conversation
[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. Reviewer can indicate their review by submitting an approval review. |
@LiSong0214: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In 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. |
@LiSong0214: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments. In 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. |
I've finished the self-check of this PR. PTAL. Thanks. |
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
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.
@shichun-0415 PTAL. Thanks.
tiflash/troubleshoot-tiflash.md
Outdated
执行 `ALTER table <tbl_name> set tiflash replica <num>` 操作,查看是否有正常返回: | ||
|
||
- 如果有正常返回,进入下一步。 | ||
- 如果无正常返回,请执行 `SELECT * FROM information_schema.tiflash_replica` 检查是否已经创建 TiFlash replica。如果没有,请重新执行 `ALTER table ${tbl_name} set tiflash replica ${num}` 或者查看是否有其他执行语句(如 `add index` )或 DDL 操作是否异常。 |
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.
“查看是否有其他执行语句(如 add index
)或 DDL 操作是否异常” 这句有点不通顺,请看看要不要调整下
tiflash/troubleshoot-tiflash.md
Outdated
- 没有更新,检查下一步; | ||
- 有更新,检查是否有 `down peer` (`down peer` 没有清理干净可能会导致同步卡住) | ||
- `pd-ctl region check-down-peer` | ||
- `pd-ctl operator add remove-peer\<region-id> \<tiflash-store-id>` |
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.
这里的步骤是这样的吗? 1。 执行 pd-ctl region check-down-peer
命令检查是否有 down peer
。2. 如果检查出来有 down peer
,执行pd-ctl operator add remove-peer\<region-id> \<tiflash-store-id>
清除 down peer.
Co-authored-by: ruoxi <[email protected]> Co-authored-by: Grace Cai <[email protected]>
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 |
This pull request has been accepted and is ready to merge. Commit hash: abeb6d5
|
First-time contributors' checklist
What is changed, added or deleted? (Required)
Troubleshoot a TiFlash Cluster: Add four more problems and their solutions
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions (in Chinese).
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?