File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ go_library(
1515 "restore_raw.go" ,
1616 "restore_txn.go" ,
1717 "stream.go" ,
18+ "tikv_config_updater.go" ,
1819 ],
1920 importpath = "github.com/pingcap/tidb/br/pkg/task" ,
2021 visibility = ["//visibility:public" ],
@@ -74,6 +75,7 @@ go_library(
7475 "//pkg/util/collate" ,
7576 "//pkg/util/engine" ,
7677 "//pkg/util/table-filter" ,
78+ "@com_github_burntsushi_toml//:toml" ,
7779 "@com_github_docker_go_units//:go-units" ,
7880 "@com_github_fatih_color//:color" ,
7981 "@com_github_gogo_protobuf//proto" ,
@@ -118,10 +120,11 @@ go_test(
118120 "encryption_test.go" ,
119121 "restore_test.go" ,
120122 "stream_test.go" ,
123+ "tikv_config_updater_test.go" ,
121124 ],
122125 embed = [":task" ],
123126 flaky = True ,
124- shard_count = 43 ,
127+ shard_count = 44 ,
125128 deps = [
126129 "//br/pkg/backup" ,
127130 "//br/pkg/config" ,
Original file line number Diff line number Diff line change @@ -353,3 +353,7 @@ replace (
353353 sourcegraph.com/sourcegraph/appdash => github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0
354354 sourcegraph.com/sourcegraph/appdash-data => github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67
355355)
356+
357+ replace github.com/tikv/client-go/v2 => github.com/ClamChowderTiDB/client-go/v2 v2.0.8-0.20260611061953-4a4daf23c789
358+
359+ replace github.com/tikv/pd/client => github.com/ClamChowderTiDB/pd/client v0.0.0-20260611055230-cb0a2298a8b9
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03
6161github.com/BurntSushi/toml v1.5.0 h1:W5quZX/G/csjUnuI8SUYlsHs9M38FC7znL0lIO+DvMg =
6262github.com/BurntSushi/toml v1.5.0 /go.mod h1:ukJfTF/6rtPPRCnwkur4qwRxa8vTRFBF0uk2lLoLwho =
6363github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802 /go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo =
64+ github.com/ClamChowderTiDB/client-go/v2 v2.0.8-0.20260611061953-4a4daf23c789 h1:KfjnJ4rVR4XO79yM7L1AtWvRmn4QlEB14EGQK6YrfBU =
65+ github.com/ClamChowderTiDB/client-go/v2 v2.0.8-0.20260611061953-4a4daf23c789 /go.mod h1:ZneDDnz21EbwEDPcTfUceqAGIX77UD+zRkXzDswM/4s =
66+ github.com/ClamChowderTiDB/pd/client v0.0.0-20260611055230-cb0a2298a8b9 h1:NohG0xaenMNP6nyartuJmlNQ4hkcX/MB4CdzqYasPnI =
67+ github.com/ClamChowderTiDB/pd/client v0.0.0-20260611055230-cb0a2298a8b9 /go.mod h1:Ie0yrRtxoVuFZhlvTXkifuT2NCHFKGmMKZTAyJP4lA8 =
6468github.com/DATA-DOG/go-sqlmock v1.5.0 h1:Shsta01QNfFxHCfpW6YH2STWB0MudeXXEWMr20OEh60 =
6569github.com/DATA-DOG/go-sqlmock v1.5.0 /go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM =
6670github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ =
Original file line number Diff line number Diff line change 99 ],
1010 flaky = True ,
1111 race = "on" ,
12- shard_count = 12 ,
12+ shard_count = 13 ,
1313 deps = [
1414 "//pkg/config" ,
1515 "//pkg/parser/auth" ,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ go_test(
3939 timeout = "short" ,
4040 srcs = ["tidb_test.go" ],
4141 flaky = True ,
42- shard_count = 17 ,
42+ shard_count = 18 ,
4343 deps = [
4444 ":tidb" ,
4545 "//pkg/errno" ,
You can’t perform that action at this time.
0 commit comments