faq: add info for schema is changed error#7043
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. DetailsReviewer can indicate their review by submitting an approval review. |
| - 执行的 DML 语句中涉及的表和集群中正在执行的 DDL 的表有相同的,那么这个 DML 语句就会报此错。 | ||
| - 这个 DML 执行时间很久,而这段时间内执行了很多 DDL 语句,导致中间 `schema` 版本变更次数超过 1024 (此为默认值,可以通过 `tidb_max_delta_schema_count` 变量修改)。 | ||
| - 接受 DML 请求的 TiDB 长时间不能加载到 `schema information`(TiDB 与 PD 或 TiKV 之间的网络连接故障等会导致此问题),而这段时间内执行了很多 DDL 语句,导致中间 `schema` 版本变更次数超过 100。 | ||
| - TiDB 重启后遇到第一个 DDL 操作期间,执行 DML 并且在它执行过程中遇到了 DDL 操作,那么这个 DML 很可能会报此错。 |
There was a problem hiding this comment.
“第一个 DDL 操作”和“执行过程中遇到了 DDL 操作”,这两个是同一个 DDL 操作吗?
There was a problem hiding this comment.
可能遇到多个 DDL,第一个 DDL 一定会包含。我改一下描述
|
@qw4990: 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. 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. |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
|
PTAL @TomShawn |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 49f6ef2 |
|
In response to a cherrypick label: new pull request created: #7100. |
|
In response to a cherrypick label: new pull request created: #7101. |
|
In response to a cherrypick label: new pull request created: #7102. |
|
In response to a cherrypick label: new pull request created: #7103. |
First-time contributors' checklist
What is changed, added or deleted? (Required)
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?