61 Commits

Author SHA1 Message Date
fa72152ae3 br: fix region scan checker (#64530)
close pingcap/tidb#64514
2026-01-13 16:29:17 +00:00
bf08f78f5f br: enhance logging and metrics for SST and restore processes (#65290)
ref pingcap/tidb#65288
2025-12-31 10:12:11 +00:00
bc50e0d3e2 region scatter client: retry scatter regions when finished percentage is not 100. (#64884)
ref pingcap/tidb#60077
2025-12-05 12:30:46 +00:00
75cca60edc br: improve error handling in PaginateScanRegion function (#64259)
close pingcap/tidb#64257
2025-11-10 04:24:53 +00:00
de78786683 BR: Optimize BR Restore Path for Classical → X Migration (#64136)
close pingcap/tidb#64152
2025-11-04 15:25:46 +00:00
3606de5c43 backend: add log fields for local and external pkg (#62476)
ref pingcap/tidb#61702
2025-07-18 05:49:42 +00:00
a900a31a9d br: added several new metrics for restoring (#61524)
close pingcap/tidb#61510
2025-07-02 07:54:12 +00:00
c6cf760c9a ingest: retry failed regions when batch scatter regions (#61722)
close pingcap/tidb#60077
2025-06-23 06:43:36 +00:00
e9853fe210 br: enable follower handler again (#60301)
close pingcap/tidb#60085
2025-05-22 10:42:31 +00:00
97b7132a8d br: gopls modernize (#60762)
close pingcap/tidb#60761
2025-05-07 13:36:55 +00:00
28b4433b13 br: reduce the memory consumption of backup ranges (#60174)
close pingcap/tidb#60172
2025-04-18 08:20:31 +00:00
65e514e5e7 br/lightning: support pd_enable_follower_handle_region (#58653)
close pingcap/tidb#58651
2025-01-03 11:26:39 +00:00
14a469ab9d *: upgrade the PD client to adopt the latest refactor (#58440)
ref pingcap/tidb#58439
2024-12-23 10:36:12 +00:00
138386c098 br: refactor br cli backoff logic (#54644)
close pingcap/tidb#54643
2024-11-26 17:30:50 +00:00
9530fdc238 Restore: implement restorer for compacted SST/Snapshot/log files (#57208)
close pingcap/tidb#57209
2024-11-20 02:56:56 +00:00
ef6662ed35 Restore: refine split code for both compacted sst files and logs (#56917)
ref pingcap/tidb#56522
2024-11-07 08:42:21 +00:00
c43d0589be *: replace exportloopref with copyloopvar (#56503)
close pingcap/tidb#56509
2024-10-09 12:12:43 +00:00
c71eece652 br: revert new introduced BatchScanRegions to keep compatibility (#54365)
close pingcap/tidb#54313
2024-07-03 14:46:34 +00:00
770478537c store/copr: batch build coprocessor tasks (#54153)
close pingcap/tidb#53850
2024-06-24 14:10:21 +00:00
4af494fe97 br: add unit test for restore pkg (#53477)
ref pingcap/tidb#52877
2024-06-18 07:22:17 +00:00
29bf0083a6 localbackend: fix resource leak when err on new local backend (#53664)
close pingcap/tidb#53659
2024-05-30 04:14:51 +00:00
1c4a9c6434 br: separate the restore client (#53197)
ref pingcap/tidb#52877
2024-05-17 05:07:13 +00:00
0805e850d4 br: handle region leader miss (#52822)
close pingcap/tidb#50501, close pingcap/tidb#51124
2024-04-24 05:06:10 +00:00
25da0bc25a br: use common scan-split-scatter logic (#52433)
ref pingcap/tidb#51533
2024-04-10 04:12:21 +00:00
a0b58619f1 lightning: move scan-split-scatter regions logic into common package (#52399)
ref pingcap/tidb#51533
2024-04-09 03:16:51 +00:00
bdffd30129 br, lightning: move *batch* split region logic into common package (#52300)
ref pingcap/tidb#51533
2024-04-07 02:57:19 +00:00
3cfea6a32a br,lightning: refine GetSplitKeysOfRegions (#52235)
ref pingcap/tidb#51533
2024-04-01 12:51:17 +00:00
f2ea18c07f lightning: move lightning directory out of br (#52247)
ref pingcap/tidb#52182
2024-04-01 07:13:46 +00:00
422ae46b6e lightning/br: move some common code into outer pkg (#52191)
ref pingcap/tidb#52182
2024-03-29 07:03:55 +00:00
19f60bd728 br: move some tests and update error code (#52209)
ref pingcap/tidb#51533
2024-03-29 04:54:49 +00:00
90b21d95b8 br,lightning: move GetSplitKeyPerRegion into shared package (#52052)
ref pingcap/tidb#51533
2024-03-25 07:54:46 +00:00
956d22edeb br/lightning: unify SplitWaitScatter logic into split package (#51864)
close pingcap/tidb#51520, ref pingcap/tidb#51533
2024-03-21 05:48:43 +00:00
83f59ed61a br/utils: add WithRetryReturnLastErr and backoffer (#51764)
ref pingcap/tidb#51533
2024-03-18 03:59:12 +00:00
25fd7c9f02 br: move WaitRegionsSplit into split package (#51779)
ref pingcap/tidb#51533
2024-03-18 03:24:42 +00:00
cd60e7fadb br, lightning: unify the calling of WaitForScatterRegion (#51651)
ref pingcap/tidb#51533
2024-03-13 06:57:39 +00:00
5cb6c0e2af br: move ScatterRegions into split package (#51614)
ref pingcap/tidb#51533
2024-03-11 05:47:08 +00:00
30c2bfee3d br, lightning: unify IsScatterRegionFinished (#51536)
ref pingcap/tidb#51533
2024-03-06 11:48:43 +00:00
f7391a4e1e br: split in each TiKV and wait scatter at last (#51281)
close pingcap/tidb#50665
2024-03-06 03:09:35 +00:00
2ca9f98f55 restore: limit scan region concurency during restore (#50255)
close pingcap/tidb#50280
2024-01-15 07:25:45 +00:00
44f33c682d restore: refactor split code for two phase split. (#48244)
ref pingcap/tidb#33937
2024-01-03 13:57:31 +00:00
c52655cd19 br, lightning: split client use pd HTTP client (#49864)
ref pingcap/tidb#49865
2023-12-28 10:51:28 +00:00
95759f44bd *: further adaptation to PD HTTP client (#48606)
ref pingcap/tidb#35319
2023-11-20 04:20:42 +00:00
733b10bf5a *: unify the use of PD API URL constants (#48132)
ref pingcap/tidb#35319
2023-11-01 09:29:07 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
0aa67b2e61 br: skip store limit check when scatter regions (#45643)
ref pingcap/tidb#44550
2023-08-07 05:34:10 +00:00
6e5604f08c lightning: improve region actions for huge region number (#43807)
close pingcap/tidb#43510
2023-05-17 10:01:36 +00:00
8b07b86670 br: auto config shard_count (#43012) 2023-04-14 10:55:01 +08:00
44aa4cf3cd lightning: generate and send region job more smoothly (#42780)
close pingcap/tidb#42456
2023-04-13 17:33:02 +08:00
6122ca307e linter: support lll to avoid too long line (#42718)
close pingcap/tidb#42570
2023-04-12 23:23:01 +08:00
2ea6d00a56 br: wait more time to wait spitting the region (#42182)
close pingcap/tidb#42001
2023-03-16 14:24:39 +08:00