Commit Graph

151 Commits

Author SHA1 Message Date
c21dc26351 log-backup: set gc disable when restore log (#39729)
close pingcap/tidb#39602
2022-12-08 16:02:24 +08:00
edabc32d92 br: fix integration test cases with --with-sys-table (#39655)
close pingcap/tidb#39692
2022-12-07 18:48:05 +08:00
9f98f47c0b restore: Adapt the protocol of caching storage (#39541)
* apply cache

Signed-off-by: hillium <yujuncen@pingcap.com>

* patch kv proto

Signed-off-by: hillium <yujuncen@pingcap.com>

* use default kvproto

Signed-off-by: hillium <yu745514916@live.com>

* remove debug

Signed-off-by: hillium <yu745514916@live.com>

* move cache key into FileImporter

Signed-off-by: hillium <yu745514916@live.com>

* restore go.mod

Signed-off-by: hillium <yu745514916@live.com>

Signed-off-by: hillium <yujuncen@pingcap.com>
Signed-off-by: hillium <yu745514916@live.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-12-01 20:32:39 +08:00
d3f7ec0021 br: skip compatibility check for the mysql.user table when restoring (#39460)
close pingcap/tidb#38785
2022-12-01 14:40:01 +08:00
1de2bf6e54 Backup: add checkpoint (#38648)
close pingcap/tidb#38647
2022-11-30 12:52:00 +08:00
1cebd1dc56 *: improve flashback to timestamp, let it compatible with TiCDC (#39442) 2022-11-29 22:58:00 +08:00
d2ace99d68 br: leader selection with tikv store balance score during the ebs data restore (#39402)
close pingcap/tidb#39404
2022-11-29 21:29:59 +08:00
039484af9a bazel: optimizate the bazel test (#39414) 2022-11-28 19:26:01 +08:00
a56aff146c br: fix unit test - TestApplyKVFilesWithBatchMethod3 (#39415)
close pingcap/tidb#39412
2022-11-28 17:44:01 +08:00
84703efd01 br: modify collate.newCollationEnabled according to the config of the cluster (#39173)
close pingcap/tidb#39150
2022-11-22 19:19:58 +08:00
2103466f98 br: PiTR restore batch apply kv-files (#38772)
close pingcap/tidb#38211
2022-11-22 16:43:58 +08:00
74aa891cdd br: replace GetTS with GetTSWithRetry (#38948)
ref pingcap/tidb#36910
2022-11-22 14:47:58 +08:00
da7eddd685 lightning: make some s3/gcs external storage fields public (#39205)
close pingcap/tidb#39204
2022-11-17 13:17:55 +08:00
96708adc93 log-backup: truncate metadata streamingly (#38870)
close pingcap/tidb#38869, ref pingcap/tidb#38939, ref pingcap/tidb#38940
2022-11-08 16:47:50 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
bd081f1214 br: ebs volume snapshot backup and restore with flashback solution (#38700)
close pingcap/tidb#36215
2022-11-03 16:20:00 +08:00
7e5086c475 br: add GetTSWithRetry func (#38663)
ref pingcap/tidb#36910
2022-11-03 10:56:00 +08:00
08aa32e888 *: update bazel config (#38745) 2022-11-01 12:15:59 +08:00
37ed0ab3e4 tests: added v1 test for iterators (#38765) 2022-10-31 21:11:58 +08:00
b9029f19b8 log-backup: using streaming to load metadata for preventing OOM (#38386)
close pingcap/tidb#38404
2022-10-28 13:45:58 +08:00
9d56ee97b1 log-backup: add progress bar for truncate (#36454)
close pingcap/tidb#36914
2022-10-26 12:29:56 +08:00
b5e99ec857 br/restore: fixed restore sys tables (#38547)
close pingcap/tidb#38538
2022-10-25 17:21:57 +08:00
c425b4e425 bazel: update config (#38509) 2022-10-18 15:35:53 +08:00
400f585578 br/restore: try keep table ID when possible (#38033)
close pingcap/tidb#38438
2022-10-14 12:21:52 +08:00
4394a2a8f1 bazel: update config and enable race for part test (#38434) 2022-10-13 11:15:51 +08:00
8ea45510e9 variable: fix data race in the variable.SetPDClientDynamicOption (#38374)
close pingcap/tidb#38373
2022-10-11 14:13:50 +08:00
e0cfba60aa log-backup: directly override the exists file when do truncate on gcs or azure (#38232)
close pingcap/tidb#38229
2022-10-10 17:05:49 +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
4ce539b42a br: Add scatter timeout (#37605)
close pingcap/tidb#37549
2022-09-05 14:24:55 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
aa5b7abb23 br: fix DATA RACE in RecordStores when getting store length (#37517)
close pingcap/tidb#37513
2022-09-01 10:22:24 +08:00
8277bd5954 br: fix data race in the RecordStores (#37472)
close pingcap/tidb#37470
2022-08-30 18:28:23 +08:00
6f156909a4 br: fix data race (#37448) 2022-08-30 13:06:23 +08:00
7425d2f37d bazel: update config (#37416)
close pingcap/tidb#37377
2022-08-29 00:58:22 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
8036777413 *: use go 1.19 (#36223)
ref pingcap/tidb#36879
2022-08-25 19:54:21 +08:00
f16f52ca7c br: restore tiflash replica count after PiTR (#37181)
close pingcap/tidb#37208
2022-08-25 17:58:21 +08:00
477f3a27c6 log-backup: restore meta kv with batch method (#37100)
close pingcap/tidb#37111
2022-08-16 15:14:51 +08:00
7129cce757 log-backup: fix wrong of rewrite table id 767 when do restore point (#37064)
close pingcap/tidb#37063
2022-08-12 13:40:49 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
1fe666add6 *: upgrade staticcheck (#36745) 2022-08-01 11:58:05 +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
3df01375c0 log-backup: filter out unnecessary metadata files (#36656)
close pingcap/tidb#36648
2022-07-29 14:59:13 +08:00
56dadec862 ddl: Preparation for add index acceleration (#36085)
ref pingcap/tidb#35983
2022-07-28 16:43:11 +08:00
f22098cc5d br: don't encode key of raw kv. (#36491)
ref pingcap/tidb#36490
2022-07-27 19:05:11 +08:00