Skip to content

Commit

Permalink
Note that GC Disabling is a must despite Dumpling's auto extend featu…
Browse files Browse the repository at this point in the history
…re (#16347) (#16494)
  • Loading branch information
ti-chi-bot authored Feb 8, 2024
1 parent e9f44df commit f8ce4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate-from-tidb-to-mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ After setting up the environment, you can use [Dumpling](/dumpling-overview.md)

1. Disable Garbage Collection (GC).

To ensure that newly written data is not deleted during incremental migration, you should disable GC for the upstream cluster before exporting full data. In this way, history data is not deleted.
To ensure that newly written data is not deleted during incremental migration, you should disable GC for the upstream cluster before exporting full data. In this way, history data is not deleted. For TiDB v4.0.0 and later versions, Dumpling might [automatically extend the GC time](/dumpling-overview.md#manually-set-the-tidb-gc-time). Nevertheless, manually disabling GC is still necessary because the GC process might begin after Dumpling exits, leading to the failure of incremental changes migration.

Run the following command to disable GC:

Expand Down

0 comments on commit f8ce4b0

Please sign in to comment.