pingcap / pingcap/tidb

br: self protection enhancement

Open
#56,575 0 comments 0 reactions 0 assignees View on GitHub
component/br type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
via this issue, kinds of br self protection methods are tracked

### storage node out of disk

1. precheck available disk of tikv/tiflash nodes before restore https://github.com/pingcap/tidb/issues/54316
2. check available disk against tikv before download sst files https://github.com/tikv/tikv/pull/17238

### br node oom
1. self adaptive GOMEMLIMIT set to br task https://github.com/pingcap/tidb/pull/53793

### overwrite existing tables
1. prevent restore sql statement at table level from overwriting existing table https://github.com/pingcap/tidb/pull/55044

### write coming while restore is active
1. make table invisible while its restore is on-going https://github.com/pingcap/tidb/issues/52476

### stuck of safe point advantage
1. pause log task if the global checkpoint lag is too large https://github.com/pingcap/tidb/pull/51441

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.