pingcap / pingcap/tidb

br/log-bakcup: make full scan using the tick interface to retry

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

Description

## Enhancement
For now, we sleep directly in the `full scan` stage. Which is hard to debugging and dirty. We can refactor it to make the retry state into the tick state, then we can retry at each tick: this would also make testing easier and isolate the algorithm part and the real world I/O.

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.