Skip to content

Commit

Permalink
Synchronize two changes in docs-cn/pull/5856 (#5148) (#5149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Mar 29, 2021
1 parent 5a98a32 commit 34e4006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion error-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion system-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <span class="version-mark">New in v5.0 GA</span>
### tidb_gc_life_time <span class="version-mark">New in v5.0 GA</span>

- Scope: GLOBAL
- Default: `"10m0s"`
Expand Down

0 comments on commit 34e4006

Please sign in to comment.