-
Notifications
You must be signed in to change notification settings - Fork 688
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
how-to/maintain: fix the description of backup & restore document #1416
Conversation
Co-Authored-By: amyangfei <amyangfei@gmail.com>
@@ -83,6 +83,43 @@ In this command, | |||
- `-F 64`: means a table is partitioned into chunks and one chunk is 64MB. | |||
- `--skip-tz-utc`: the purpose of adding this parameter is to ignore the inconsistency of time zone setting between MySQL and the data exporting machine and to disable automatic conversion. | |||
|
|||
If `mydumper` meeting error likes |
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.
If `mydumper` meeting error likes | |
If `mydumper` emits errors like |
- step 1: before executing `mydumper` command, you need to query the GC values of TiDB cluster and adjust it to a suitable value using the MySQL client: | ||
|
||
```sql | ||
mysql> select VARIABLE_NAME, VARIABLE_VALUE from mysql.tidb; |
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.
Perhaps use
SELECT * FROM mysql.tidb WHERE VARIABLE_NAME = 'tikv_gc_life_time'
to shorten the output below.
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
Co-Authored-By: kennytm <kennytm@gmail.com>
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 anyway 🤷♂
Co-Authored-By: kennytm <kennytm@gmail.com>
… ian/3.0-backup
thanks @lilin90 |
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
What is changed, added or deleted?
the backup & restore document has some wrong descriptions
Which version does your change affect?
v3.0