Skip to content

Commit

Permalink
Br adaptive GC description
Browse files Browse the repository at this point in the history
Br adaptive GC description
pingcap/br#257
  • Loading branch information
glkappe authored Nov 12, 2020
1 parent e960457 commit d2bc954
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions br/backup-and-restore-use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ BR 可以直接将命令下发到 TiKV 集群来执行备份和恢复,不依
```sql
UPDATE mysql.tidb SET VARIABLE_VALUE = '10m' WHERE VARIABLE_NAME = 'tikv_gc_life_time';
```
> **注意:**
>
> BR 大于等于 v4.0.0-rc.2 已支持自适应 GC,将 backupTS 注册到 PD 的 safePoint,保证 safePoint 在备份期间不会向前移动,避免手动设置 GC。

### 恢复前的准备工作

Expand Down

0 comments on commit d2bc954

Please sign in to comment.