From eea2f3ae5d676cb1a579dea8ce32a0f15d6d5e4c Mon Sep 17 00:00:00 2001 From: en-jin19 Date: Thu, 15 Jul 2021 11:40:19 +0200 Subject: [PATCH] Dumping default consistency description --- dumpling-overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumpling-overview.md b/dumpling-overview.md index 577e9f155b30..6f532d11f800 100644 --- a/dumpling-overview.md +++ b/dumpling-overview.md @@ -260,9 +260,9 @@ With the above options specified, Dumpling can have a quicker speed of data expo > **Note:** > -> In most scenarios, you do not need to adjust the default data consistency options of Dumpling. +> In most scenarios, you do not need to adjust the default data consistency options of Dumpling (the default value is `auto`). -Dumpling uses the `--consistency ` option to control the way in which data is exported for "consistency assurance". For TiDB, data consistency is guaranteed by getting a snapshot of a certain timestamp by default (namely, `--consistency snapshot`). When using snapshot for consistency, you can use the `--snapshot` option to specify the timestamp to be backed up. You can also use the following levels of consistency: +Dumpling uses the `--consistency ` option to control the way in which data is exported for "consistency assurance". When using snapshot for consistency, you can use the `--snapshot` option to specify the timestamp to be backed up. You can also use the following levels of consistency: - `flush`: Use [`FLUSH TABLES WITH READ LOCK`](https://dev.mysql.com/doc/refman/8.0/en/flush.html#flush-tables-with-read-lock) to temporarily interrupt the DML and DDL operations of the replica database, to ensure the global consistency of the backup connection, and to record the binlog position (POS) information. The lock is released after all backup connections start transactions. It is recommended to perform full backups during off-peak hours or on the MySQL replica database. - `snapshot`: Get a consistent snapshot of the specified timestamp and export it.