Commit Graph

65 Commits

Author SHA1 Message Date
7db44c0175 br: make br support FIPS (#48421)
close pingcap/tidb#48419
2023-11-20 06:10:10 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
3546d77cff lightning: add OWNERS in folders owned by lightning (#47328)
close pingcap/tidb#47301
2023-10-12 06:49:56 +00:00
3925f9af7a br: public the parameter --use-backupmeta-v2 and use it in default (#47114)
close pingcap/tidb#47111
2023-10-11 03:22:56 +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
4450ae4513 importinto: integrate global sort(without merge-sort) part 1 (#46998)
ref pingcap/tidb#46704
2023-09-19 11:10:42 +00:00
Hu#
f4f78a1db3 lightning: mark background and resource group name when in local mode (#44950)
ref pingcap/tidb#44517
2023-07-28 11:57:06 +00:00
dd063e4229 br: fix forget to set partition info when debug validate backupmeta (#45233)
close pingcap/tidb#44690
2023-07-28 09:09:06 +00:00
8c5ca7b200 restore: precheck cluster is empty when first time full restore (#45014)
close pingcap/tidb#35744
2023-07-28 08:06:05 +00:00
ce1b6f986e br/cmd: implement the operator pause-gc-and-schedulers command (#43562)
ref pingcap/tidb#43559
2023-05-10 09:00:08 +00:00
a9d8f90180 br: revert wrong commits (#43589)
close pingcap/tidb#43588
2023-05-08 03:50:57 +00:00
6488c35a25 sql: implement SHOW BR JOBS <n:int> and CANCEL BR JOB <n:int> (#43074)
close pingcap/tidb#43072
2023-05-05 10:45:57 +00:00
35e5b45212 br: support backup txn kv data (#40829)
* support txn backup and restore
2023-04-19 15:11:04 +08:00
6122ca307e linter: support lll to avoid too long line (#42718)
close pingcap/tidb#42570
2023-04-12 23:23:01 +08:00
6505048490 lightning: fix keyspaceName privilege problem (#41959)
close pingcap/tidb#41915
2023-03-07 10:43:12 +08:00
9958a93ae8 lightning: rename and move some struct (#41946)
ref pingcap/tidb#40499
2023-03-06 17:49:33 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
92836501a7 lightning: update to new TLS API of SQL driver (#39623) 2022-12-09 16:20:04 +08:00
d61b8c423f log-backup: add flag for restore point (#39431)
close pingcap/tidb#39379
2022-11-29 11:41:59 +08:00
0e3e44001b ebs-br: change command line flags of restore (#38027)
close pingcap/tidb#38011
2022-09-21 23:21:03 +08:00
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
fc217d432c config, sysvar: add config instance.enable_ddl and sysvar tidb_enable_ddl (#35425)
ref pingcap/tidb#34960
2022-08-01 15:02:06 +08:00
cb211e0edf br: add flag to control whether restore priv table on default (#36652)
close pingcap/tidb#36651
2022-07-30 16:40:03 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
8af8341cca planner: Table scan in TiFlash not keep order (#36232)
close pingcap/tidb#36231
2022-07-19 00:51:07 +08:00
63f5d286ff log-backup: add version check for pitr (#36268)
close pingcap/tidb#36267
2022-07-18 23:27:07 +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
1883a4444d br: restore privilege tables on full restore by default (#35397)
close pingcap/tidb#35395
2022-07-18 13:11:06 +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
e00ad2b3ef *: enable errcheck for nogo (#35704)
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
5837686f77 log backup: hidden the log backup and restore point (#34991)
ref pingcap/tidb#29501
2022-05-27 11:56:47 +08:00
2faac4f507 br: filter (start-ts, restore-ts) when restore data kv (#34703)
close pingcap/tidb#33873
2022-05-18 13:52: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
9339955f0d backup: backup empty databases (#34385)
close pingcap/tidb#33866
2022-05-07 18:30:32 +08:00
3c21965564 lightning: remove support for tikv-importer (#34313)
ref pingcap/tidb#31664, close pingcap/tidb#34310
2022-05-06 16:06:56 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
6517ee3fb6 *: migrate tidb-tools (#33296)
close pingcap/tidb#32999
2022-03-25 19:08:35 +08:00
96a507eb3b lightning: support inject external storage when as library (#33303)
ref pingcap/tidb#33281
2022-03-25 16:58:34 +08:00
e0db77ecd1 br: implement backup & restore policy info (#33007)
close pingcap/tidb#32290
2022-03-15 17:39:53 +08:00
51111b8727 lightning: standardize error codes and messages (#32240)
close pingcap/tidb#32239
2022-03-13 15:01:51 +08:00
e42f26c3f8 br: don't print slow log in br without SlowLogFile config (#32204)
close pingcap/tidb#32202
2022-02-24 15:15:43 +08:00
82add9c6bd lightning: only broadcast progress status if web api is enabled (#32011)
ref pingcap/tidb#32010
2022-02-10 14:43:36 +08:00
7f442079ac *: Minimize file and directory permissions (#31740)
ref pingcap/tidb#31310
2022-01-22 10:27:46 +08:00
ec4f879837 lightning: output clearer output message for max-error (#30908)
close pingcap/tidb#29813
2021-12-31 16:17:51 +08:00
d5d836cc30 lightning: output a clearer exit message (#28492) 2021-12-30 22:51:50 +08:00