Skip to content

Commit fd349ee

Browse files
authored
*: update go.mod to upgrade client-go (#69091)
close #68352
1 parent 81530de commit fd349ee

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

DEPS.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6596,11 +6596,11 @@ def go_deps():
65966596
build_tags = ["nextgen", "intest"],
65976597
build_file_proto_mode = "disable_global",
65986598
importpath = "github.com/tikv/client-go/v2",
6599-
sha256 = "472a85fb7dccdeb0f69c6a96666a62fb41dacb73c15415707f323b9e82ba8378",
6600-
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20260602013621-8804d7c60a7e",
6599+
sha256 = "8e9cc87c4a965a122a838f90e25e15f18b529902ecd0d5ab1b336ac99710c3f7",
6600+
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20260609070524-8df1c02428d9",
66016601
urls = [
6602-
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260602013621-8804d7c60a7e.zip",
6603-
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260602013621-8804d7c60a7e.zip",
6602+
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260609070524-8df1c02428d9.zip",
6603+
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20260609070524-8df1c02428d9.zip",
66046604
],
66056605
)
66066606
go_repository(

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ require (
123123
github.com/stathat/consistent v1.0.0
124124
github.com/stretchr/testify v1.11.1
125125
github.com/tiancaiamao/appdash v0.0.0-20181126055449-889f96f722a2
126-
github.com/tikv/client-go/v2 v2.0.8-0.20260602013621-8804d7c60a7e
126+
github.com/tikv/client-go/v2 v2.0.8-0.20260609070524-8df1c02428d9
127127
github.com/tikv/pd/client v0.0.0-20260601035915-3ef6a3b10c84
128128
github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67
129129
github.com/twmb/murmur3 v1.1.6

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,8 +893,8 @@ github.com/tidwall/pretty v1.2.1 h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
893893
github.com/tidwall/pretty v1.2.1/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
894894
github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
895895
github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
896-
github.com/tikv/client-go/v2 v2.0.8-0.20260602013621-8804d7c60a7e h1:uCI3pPDuqjG/HLCnj6neLKXviXUnQ46tAxNoq1NUato=
897-
github.com/tikv/client-go/v2 v2.0.8-0.20260602013621-8804d7c60a7e/go.mod h1:VcMgE5O5f9aBgFrv7AQ3LGDNJ6Nlx7lJ+hmbkooC0YI=
896+
github.com/tikv/client-go/v2 v2.0.8-0.20260609070524-8df1c02428d9 h1:5lleEEMr9u0DiBRKlhZfaTeZygiOmbV5+aHbZH8Cgcw=
897+
github.com/tikv/client-go/v2 v2.0.8-0.20260609070524-8df1c02428d9/go.mod h1:ifrCFaHJeZDcz6kded2eVwn+t3Auvqve8hI9vLIoVBg=
898898
github.com/tikv/pd/client v0.0.0-20260601035915-3ef6a3b10c84 h1:8gvjP484Hv4CNf4jKzdmQOm48hGP5wnEd86nrbVvn5o=
899899
github.com/tikv/pd/client v0.0.0-20260601035915-3ef6a3b10c84/go.mod h1:GP9u8OBXqYQ6e43htjprZILrzn3tuogzkEEmmiNlzc4=
900900
github.com/timakin/bodyclose v0.0.0-20241222091800-1db5c5ca4d67 h1:9LPGD+jzxMlnk5r6+hJnar67cgpDIz/iyD+rfl5r2Vk=

pkg/config/config.toml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ store-liveness-timeout = "1s"
405405
ttl-refreshed-txn-size = 33554432
406406

407407
# If the number of keys that one prewrite request of one region involves exceed this threshold, it will use `ResolveLock` instead of `ResolveLockLite`.
408-
resolve-lock-lite-threshold = 16
408+
resolve-lock-lite-threshold = 512
409409

410410
[tikv-client.copr-cache]
411411
# The capacity in MB of the cache. Zero means disable coprocessor cache.

pkg/config/config.toml.nextgen.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ store-liveness-timeout = "1s"
416416
ttl-refreshed-txn-size = 33554432
417417

418418
# If the number of keys that one prewrite request of one region involves exceed this threshold, it will use `ResolveLock` instead of `ResolveLockLite`.
419-
resolve-lock-lite-threshold = 16
419+
resolve-lock-lite-threshold = 512
420420

421421
[tikv-client.copr-cache]
422422
# The capacity in MB of the cache. Zero means disable coprocessor cache.

0 commit comments

Comments
 (0)