-
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
Update dumpling-overview.md #6060
Conversation
add full backup ftwrl details
/cc @lichunzhu |
dumpling-overview.md
Outdated
@@ -258,7 +258,7 @@ Dumpling 也可以通过 `-B` 或 `-T` 选项导出特定的数据库/数据表 | |||
|
|||
Dumpling 通过 `--consistency <consistency level>` 标志控制导出数据“一致性保证”的方式。对于 TiDB 来说,默认情况下,会通过获取某个时间戳的快照来保证一致性(即 `--consistency snapshot`)。在使用 snapshot 来保证一致性的时候,可以使用 `--snapshot` 选项指定要备份的时间戳。还可以使用以下的一致性级别: | |||
|
|||
- `flush`:使用 [`FLUSH TABLES WITH READ LOCK`](https://dev.mysql.com/doc/refman/8.0/en/flush.html#flush-tables-with-read-lock) 来保证一致性。 | |||
- `flush`:使用 [`FLUSH TABLES WITH READ LOCK`](https://dev.mysql.com/doc/refman/8.0/en/flush.html#flush-tables-with-read-lock) 短暂地中断备份库的 DML 和 DDL 操作,保证并发备份连接的全局一致性和记录 pos 信息,所有的并发备份连接建立后释放该锁。推荐在业务低峰或者 MySQL 备库上进行全量备份。 |
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.
所有的并发备份连接建立后释放该锁。
该句不准确,释放锁的时机目前由 --transactional-consistency
控制。
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 |
[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 writing |
/label needs-cherry-pick-4.0 |
/uncc @Joyinqin |
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
/lgtm |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 6036654
|
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #6084 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to master in PR #6085 |
/translation done |
add full backup ftwrl details
First-time contributors' checklist
What is changed, added or deleted? (Required)
add full backup ftwrl details
Which TiDB version(s) do your changes apply to? (Required)
What is the related PR or file link(s)?
Do your changes match any of the following descriptions?