Commit Graph

193 Commits

Author SHA1 Message Date
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
a5435cd22e br: unified the lint rules with tidb. (#31644)
close pingcap/tidb#31643
2022-01-17 20:03:45 +08:00
a6a447ee45 lightning: optimize integration test lightning_checkpoint (#31594)
close pingcap/tidb#31593
2022-01-17 15:35:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
8bf4942cdd br: support batch create table for restore (#29380)
close pingcap/tidb#30284
2022-01-17 14:35:46 +08:00
9e948bdfcd lightning: remove gc ttl job after checksum is completed (#31597)
close pingcap/tidb#31047
2022-01-14 13:19:42 +08:00
6f168d5e54 lightning: fix storage not exists error (#31657)
close pingcap/tidb#31656
2022-01-13 17:35:43 +08:00
aabd4e04d9 test: public RunInGoTest for mock store (#31578)
close pingcap/tidb#31579
2022-01-13 13:25:42 +08:00
1c7d3c7973 br: remove some useless code for golang lint check (#31504)
close pingcap/tidb#31046
2022-01-12 23:47:42 +08:00
3610c834e4 lightning: add a integration test for gbk (#31337)
close pingcap/tidb#31293
2022-01-10 14:45:41 +08:00
0649ee84ac lightning: add more retryable error type (#31484)
close pingcap/tidb#31376
2022-01-10 13:57:41 +08:00
c8f04b0a7b lightning: migrate test-infra to testify for backend/local and reduce test time (#31410)
close pingcap/tidb#29980
2022-01-10 09:44:38 +08:00
7a5b715827 br/pkg/lightning/log: migrate test-infra to testify (#31289)
close pingcap/tidb#28238
2022-01-07 14:28:37 +08:00
2bbeebd0d4 store: forbid collecting info if enable-collect-execution-info disabled (#31282)
close pingcap/tidb#31038
2022-01-06 21:54:38 +08:00
b00c2a9535 br: fix unstable unit test (#31317)
close pingcap/tidb#31356
2022-01-06 12:20:36 +08:00
50520e3985 lint: fix lint errors in pkg br. (#31041)
close pingcap/tidb#31358
2022-01-06 10:54:36 +08:00
0073ca9365 lightning/backend/kv: migrate test-infra to testify (#31254)
close pingcap/tidb#29979
2022-01-04 19:54:35 +08:00
15181a3b35 br/pkg/restore: migrate test-infra to testify (#31248)
close pingcap/tidb#28177
2022-01-04 13:48:35 +08:00
xhe
4f30a14256 ddl: support batch create table (#28763) 2021-12-31 17:13:50 +08:00
ec4f879837 lightning: output clearer output message for max-error (#30908)
close pingcap/tidb#29813
2021-12-31 16:17:51 +08:00
1dc16954d1 br: support azure blob storage (#30585)
close pingcap/tidb#30583
2021-12-31 14:57:51 +08:00
e7b522b665 br: use random port to start mock cluster. (#31167) 2021-12-31 11:35:50 +08:00
d5d836cc30 lightning: output a clearer exit message (#28492) 2021-12-30 22:51:50 +08:00
56a27676cd lightning: improve the performance of duplicate detection (#30203)
close pingcap/tidb#29588
2021-12-30 22:29:51 +08:00
a06e9f2980 lightning: init checkpoint db after precheck (#31033)
close pingcap/tidb#30772
2021-12-30 18:17:50 +08:00
57ef62b8f9 lightning/backend: use optimistic transaction for tidb backend (#30953) 2021-12-30 15:23:50 +08:00
5609c55569 lightning: return the right error in restore engine (#31059)
close pingcap/tidb#31057
2021-12-30 14:29:50 +08:00
1920af6985 lightning: support both gs and gcs in url (#30254) 2021-12-30 13:53:50 +08:00
9325c91a75 lightning: don't ignore error if check new collation failed (#31089)
close pingcap/tidb#31088
2021-12-30 10:35:50 +08:00
006e3bf385 br/pkg/checksum: migrate test-infra to testify (#31084)
close pingcap/tidb#28166
2021-12-29 16:27:50 +08:00
4dec85cce3 parser: convert identifier to utf8mb4 charset (#31108)
close pingcap/tidb#31113
2021-12-29 16:07:50 +08:00
7647c2b9b0 parser: parse gbk encoding SQL token by token instead of the whole SQL (#31039)
close pingcap/tidb#30765
2021-12-28 22:07:49 +08:00
6d58e8ef37 br/pkg/storage: migrate test-infra to testify (#31026) 2021-12-28 17:25:49 +08:00
7688d3759e lightning: remove the unnecessary offset field in the key encoding for duplicate detection (#29975) 2021-12-28 12:17:49 +08:00
2b0400aa23 br: Enable lint gosec in br (#30895)
close pingcap/tidb#30699
2021-12-27 14:03:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
693946bb79 br: extend the timeout for scan region since 3 seconds is not enough (#30889)
close pingcap/tidb#30720
2021-12-23 15:05:48 +08:00
dfc25ff06b br/pkg/membuf: remove global buffer pool (#29934) 2021-12-23 11:13:47 +08:00
efb5330979 restore: use new ScatterRegions API (#30899)
close pingcap/tidb#30425
2021-12-23 00:45:48 +08:00
46e67db084 Makefile: add t.Parallel check to ensure tests are run in serial (#30869) 2021-12-22 14:35:47 +08:00
3bd732f9c4 br: improve backoff unit test (#30892) 2021-12-22 11:19:47 +08:00
3934157824 lightning: add back table empty check and add a switch config (#30887)
close pingcap/tidb#27919
2021-12-22 10:17:47 +08:00
e12342b494 br: error log optimization (#29640)
close pingcap/tidb#27015
2021-12-21 18:09:46 +08:00
eb6c89d6d4 lightning: make pre-check output message clearer (#30439)
close pingcap/tidb#30395
2021-12-20 19:49:46 +08:00
b09c63be84 br: fix S3 backup endpoint suffix (#30530)
close pingcap/tidb#30104
2021-12-20 18:09:46 +08:00
92207005ec lightning: optimize region split check logic (#30428)
close pingcap/tidb#30018
2021-12-20 15:45:46 +08:00
e1fb2f5414 br: add error handling for group context cancel when restore file is corrupted (#30190)
close pingcap/tidb#30135
2021-12-20 08:09:45 +08:00
778e188fa7 br: update permission, so tikv can write to folder when backup to local (#30396) 2021-12-18 00:46:36 +08:00
d0fc70e6cb br/pkg/task: migrate test-infra to testify (#30605) 2021-12-17 11:40:36 +08:00
83af272bca br: update log description for split check (#30763) 2021-12-16 19:04:36 +08:00