diff --git a/error-codes.md b/error-codes.md index 9d6b831d4fe01..ccae4838ce81b 100644 --- a/error-codes.md +++ b/error-codes.md @@ -177,7 +177,7 @@ TiDB is compatible with the error codes in MySQL, and in most cases returns the * Error Number: 8055 - The current snapshot is too old. The data may have been garbage collected. You can increase the value of [`tidb_gc_life_time`](/system-variables.md#tidb_gc_life_time-new-in-v50-ga) to avoid this problem. The new version of TiDB automatically reserves data for long-running transactions. Usually this error does not occur. + The current snapshot is too old. The data may have been garbage collected. You can increase the value of [`tidb_gc_life_time`](/system-variables.md#tidb_gc_life_time-new-in-v50-ga) to avoid this problem. TiDB automatically reserves data for long-running transactions. Usually this error does not occur. See [garbage collection overview](/garbage-collection-overview.md) and [garbage collection configuration](/garbage-collection-configuration.md). diff --git a/system-variables.md b/system-variables.md index 1155320a81536..ce536c6306a02 100644 --- a/system-variables.md +++ b/system-variables.md @@ -629,7 +629,7 @@ For a system upgraded to v5.0.0-rc from an earlier version, if you have not modi - Default value: ON - Enables garbage collection for TiKV. Disabling garbage collection will reduce system performance, as old versions of rows will no longer be purged. -## tidb_gc_life_time New in v5.0 GA +### tidb_gc_life_time New in v5.0 GA - Scope: GLOBAL - Default: `"10m0s"`