Commit Graph

48 Commits

Author SHA1 Message Date
be62f754fb ddl: wrap the sessionctx to public delete range logic to BR (#48050)
close pingcap/tidb#47738
2023-12-07 06:25:21 +00:00
c21a5cfcb3 br: add integration test for pitr (#47740)
ref pingcap/tidb#47738
2023-10-23 02:44:00 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
04c63ce4c4 br: fix add ingest index as sub job (#47484)
close pingcap/tidb#47482
2023-10-11 11:18:25 +00:00
fc4f8a1d8f ddl: add more tests for multi-schema change (#47293)
ref pingcap/tidb#41602
2023-10-09 08:15:25 +00:00
765017d121 br: modify how to parse the add index job args (#47456)
close pingcap/tidb#47451
2023-10-09 05:39:24 +00:00
e82519e79d restore: rewrite auto increment id after pitr (#46521)
close pingcap/tidb#46520
2023-09-04 11:06:44 +00:00
6ad49e79b1 br: make download metadata concurrency adjustable (#45639)
close pingcap/tidb#45511
2023-08-07 03:46:10 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
b51758efdb br: enhancement for checkpoint (#43384)
close pingcap/tidb#43270
2023-05-06 10:44:56 +00:00
3cf494f03d br: support snapshot + log restore and support different tasks for checkpoint (#43134)
ref pingcap/tidb#43133
2023-04-20 09:17:19 +08:00
f476d203bf br: fix unstable test (#43177)
close pingcap/tidb#43170
2023-04-19 11:59:19 +08:00
73c92b8ed2 pitr: support restoring duplicated log in PITR. (#42049)
close pingcap/tidb#42564
2023-04-14 21:52:46 +08:00
8b07b86670 br: auto config shard_count (#43012) 2023-04-14 10:55:01 +08:00
6122ca307e linter: support lll to avoid too long line (#42718)
close pingcap/tidb#42570
2023-04-12 23:23:01 +08:00
c8e68765b3 pitr: add ingest recorder to repair indexes (#41670)
ref pingcap/tidb#38045, close pingcap/tidb#41668
2023-03-14 19:16:39 +08:00
cf34941401 ttl: make the TTL compatible with dumpling, lightning and BR (#40216)
close pingcap/tidb#40215
2022-12-29 16:30:21 +08:00
e89f34195f log-backup: do not rewrite shortvalue iif the value is rollback record. (#39596)
close pingcap/tidb#39575
2022-12-02 20:06:01 +08:00
2103466f98 br: PiTR restore batch apply kv-files (#38772)
close pingcap/tidb#38211
2022-11-22 16:43:58 +08:00
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
6e6b553e15 log-backup: compression type for log backup file (#37778)
ref pingcap/tidb#36924
2022-09-17 00:58:59 +08:00
08b1faf2ad log-backup: restore the merge small backup files. (#36925)
close pingcap/tidb#36924
2022-09-08 12:20:57 +08:00
f16f52ca7c br: restore tiflash replica count after PiTR (#37181)
close pingcap/tidb#37208
2022-08-25 17:58:21 +08:00
87a610660b log-backup: support the ddl(exchange partition) when PiTR (#37050)
close pingcap/tidb#34742
2022-08-25 15:16:21 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
0e414bdc42 br: Fix bug in TestDateFormat (#36976)
close pingcap/tidb#36802
2022-08-09 00:20:48 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
3df01375c0 log-backup: filter out unnecessary metadata files (#36656)
close pingcap/tidb#36648
2022-07-29 14:59:13 +08:00
9b7060393e log-backup: fixed bugs about log truncate left some files and log truncate update log-min-date (#36616)
close pingcap/tidb#36376, ref pingcap/tidb#36533, ref pingcap/tidb#36535
2022-07-28 13:13:10 +08:00
fb2c38f783 log-backup: adapt the new metrics (#36479)
ref pingcap/tidb#36092
2022-07-25 13:39:10 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
6c704f756f log-backup: remove the timezone from log-date (#36369)
close pingcap/tidb#36370
2022-07-21 20:01:09 +08:00
676ecaba25 log-backup: calculate global-checkpoint from pd written by tikv (#36305)
* calcualte global-checkpoint from pd written by tikv

Signed-off-by: joccau <zak.zhao@pingcap.com>

* log-status shows storage checkpoint

Signed-off-by: joccau <zak.zhao@pingcap.com>

* add test case

Signed-off-by: joccau <zak.zhao@pingcap.com>

* show red status if the checkpoint gap > 10min

Signed-off-by: joccau <zak.zhao@pingcap.com>

Co-authored-by: 3pointer <luancheng@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-07-20 23:08:14 +08:00
39f8eaa997 br: add search key debug command (#36274)
* feat: add search key debug command

* feat: modify to merge default cf and write cf keys

* feat: modify to read backup meta files concurrently

* feat: add unit test and comments

* fix: check error returned from task.GetStorage

* feat: resolve reviewing problems

* fix: modify removed function

Co-authored-by: Zak Zhao <57036248+joccau@users.noreply.github.com>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: 3pointer <luancheng@pingcap.com>
2022-07-18 22:47:36 +08:00
0d6741039a log-backup: calculate global checkpoint-ts from storage (#36255)
close pingcap/tidb#36246
2022-07-18 14:09:07 +08:00
dd4b9f0f6f br restore point: update job's raw_args (#36252)
close pingcap/tidb#36251
2022-07-17 22:07:06 +08:00
2ff12e8b64 log-backup: fix checkpoint display (#36166)
fixed pingcap/tidb#36092
2022-07-13 19:25:05 +08:00
f581ec3a45 test: remove meaningless test and update bazel (#36136) 2022-07-13 16:41:05 +08:00
fee2a12d69 log-backup: implement the checkpoint V3 (#36114)
close pingcap/tidb#35164
2022-07-13 11:07:05 +08:00
d214d3eec5 log-backup: support calculating dynamic shift-start-ts when restoring kv-files belonging to default-cf (#36151)
close pingcap/tidb#36138
2022-07-12 22:39:06 +08:00
4f229f29c3 br: deal with mddljob when pitr restores (#35976) (#36118)
close pingcap/tidb#35372
2022-07-12 20:13:05 +08:00
354cb537aa backup-log: support the new feature PiTR- backup/restore log at the tikv endpoint (#36031)
close pingcap/tidb#29501
2022-07-11 18:17:05 +08:00
e50b9430fc *: enable gci (#35823)
ref pingcap/tidb#35345
2022-07-04 14:53:02 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
89bbe78203 br: save global checkpoint to storage and support complete transaction (#34612)
close pingcap/tidb#34632
2022-05-14 17:02:35 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08:35 +08:00