Commit Graph

135 Commits

Author SHA1 Message Date
035f79e896 br: fix get snapshot response pointer deref panic (#54510)
close pingcap/tidb#54511
2024-07-18 07:12:02 +00:00
53dcc79a6d lightning: improve log (#54483)
close pingcap/tidb#46687, close pingcap/tidb#54478
2024-07-10 03:16:33 +00:00
ris
088fec9f23 br: pre-check TiKV disk space before restore task (#54385)
close pingcap/tidb#54316
2024-07-08 04:48:02 +00:00
b3ed886802 backup: use tombstone instead of offline during CheckStoreLiveness (#54196)
ref pingcap/tidb#52534
2024-06-25 08:01:22 +00:00
ris
c12bf3fa02 br: fix backoffer can't handle multierrs (#54084)
close pingcap/tidb#54053
2024-06-19 08:56:47 +00:00
1c4a9c6434 br: separate the restore client (#53197)
ref pingcap/tidb#52877
2024-05-17 05:07:13 +00:00
835ea0451a backup: implement store based backup to solve the long tail issue (#53081)
ref pingcap/tidb#52534
2024-05-16 11:13:13 +00:00
8973dddc9e br: no domain to run log command (#52127)
close pingcap/tidb#52088
2024-04-25 03:00:11 +00:00
b4c8749315 br: fix flaky test (#52573)
close pingcap/tidb#52547
2024-04-17 08:00:07 +00:00
cc3c1baf30 operator: make an infinity retry for connecting to store (#52177)
close pingcap/tidb#52175
2024-04-03 07:43:47 +00:00
8bba8261b0 log backup: fix the issue that paused service safepoint not removed (#52106)
close pingcap/tidb#52082
2024-03-29 10:07:44 +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
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +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
d604b06939 br: stop log when full restore failed (#51578)
close pingcap/tidb#51572
2024-03-12 03:17:09 +00:00
ff794e5ce0 operator: print callstack when exiting before preparing done (#51371)
close pingcap/tidb#51370
2024-03-06 10:39:35 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
00f99ab1c4 br/streamhelper: fix panic while removing task (#50869)
close pingcap/tidb#50839
2024-02-07 09:40:15 +00:00
dee790b7f2 br: fix register_test failed error for flaky test (#46991)
close pingcap/tidb#46848
2024-02-07 08:44:45 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
d6ef1c722a br: add more retry strategy (s3.ReadFile: body reader / pushBackup: backoffer) (#50541)
close pingcap/tidb#49942
2024-01-24 10:52:51 +00:00
08698147c5 log backup: reset store grpc connection when encounter error (#50539)
close pingcap/tidb#50445
2024-01-24 10:06:21 +00:00
bbbada0dde backup: advacned prepare implementation (#48439)
close pingcap/tidb#50359
2024-01-17 13:03:16 +00:00
ac712397b2 ebs_br: allow temporary TiKV unreachable during starting snapshot backup (#49154)
close pingcap/tidb#49152, close pingcap/tidb#49153
2024-01-15 17:42:15 +00:00
078aeb2763 br: backup/restore statistic data in the partition dimension (#49628)
close pingcap/tidb#49627
2024-01-08 12:20:01 +00:00
5cc32b67c7 restore: use token bucket to balance download requests. (#49887)
ref pingcap/tidb#49886
2024-01-08 08:33:23 +00:00
44f33c682d restore: refactor split code for two phase split. (#48244)
ref pingcap/tidb#33937
2024-01-03 13:57:31 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
7b8c876800 log_backup: add lock for truncating (#49469)
close pingcap/tidb#49414
2023-12-22 06:18:31 +00:00
7e5a5b2912 backup: more stable check liveness when store heartbeat behind too much (#48403)
close pingcap/tidb#48405
2023-12-14 15:34:50 +00:00
6c30c6e6aa br: refactor error handle mechanism to tolerant unexpect kv errors. (#48646)
close pingcap/tidb#47656
2023-12-08 05:20:52 +00:00
f33d5a76a5 br: add more retryable error for br_import (#48529)
close pingcap/tidb#48528
2023-11-13 06:50:15 +00:00
aebf22d22e planner: move more methods from StatsHandle to its sub-packages (#47696)
ref pingcap/tidb#46905
2023-10-17 13:52:59 +00:00
895b4e0f12 *: replace mathutil.Max/Min with built-in max/min (#47700)
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00
5203ebb7f6 br: retry import sst files on invalidPart error (#47584)
ref pingcap/tidb#47656
2023-10-16 10:54:28 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
95378e5bed br: check the correct changefeed info when restore/import data (#47322)
close pingcap/tiflow#9807
2023-09-28 10:18:21 +00:00
32540a4a77 snapshot_backup: deny executing tidb-lightning import while running snapshot_backup (#47001)
ref pingcap/tidb#46850
2023-09-27 13:55:48 +00:00
db090ae99e planner: move stats_hist and stats_json code into a separate package (#47294)
ref pingcap/tidb#46905
2023-09-26 11:39:16 +00:00
2ac191a137 snap_restore: added retry for recovery (#46094)
close pingcap/tidb#46181
2023-08-18 05:45:31 +00:00
5f41a0f460 br: update new_collation related logs (#46172)
close pingcap/tidb#46136
2023-08-17 10:02:08 +00:00
3f9f825c03 snap_restore: resend recover_region while there are TiKV restarts (#45361)
close pingcap/tidb#45206
2023-08-01 10:22:09 +00:00
697652f90d br: improve TestNewImportSSTBackofferWithSucess (#45683)
close pingcap/tidb#45684
2023-07-31 08:02:37 +00:00
c384c0a8da *: Move log category into a real field (#45058)
close pingcap/tidb#45057
2023-07-04 07:33:44 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
20a442fead import into: precheck and register to pd (#44313)
ref pingcap/tidb#42930
2023-06-07 12:19:42 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
6e5604f08c lightning: improve region actions for huge region number (#43807)
close pingcap/tidb#43510
2023-05-17 10:01:36 +00:00
0950948125 *: enable mirror linter (#43644)
ref pingcap/tidb#40786
2023-05-09 10:23:05 +00:00