mirror of https://github.com/tikv/client-go.git
parent
56c521f109
commit
9b3ecc1dca
|
|
@ -44,7 +44,7 @@ import (
|
||||||
"github.com/tikv/client-go/v2/internal/logutil"
|
"github.com/tikv/client-go/v2/internal/logutil"
|
||||||
"github.com/tikv/client-go/v2/oracle"
|
"github.com/tikv/client-go/v2/oracle"
|
||||||
"github.com/tikv/client-go/v2/util"
|
"github.com/tikv/client-go/v2/util"
|
||||||
resourceControlClient "github.com/tikv/pd/pkg/mcs/resource_manager/client"
|
resourceControlClient "github.com/tikv/pd/client/resource_manager/client"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
41
go.mod
41
go.mod
|
|
@ -12,53 +12,52 @@ require (
|
||||||
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0
|
github.com/grpc-ecosystem/go-grpc-middleware v1.1.0
|
||||||
github.com/opentracing/opentracing-go v1.2.0
|
github.com/opentracing/opentracing-go v1.2.0
|
||||||
github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
|
github.com/pingcap/errors v0.11.5-0.20211224045212-9687c2b0f87c
|
||||||
github.com/pingcap/failpoint v0.0.0-20210918120811-547c13e3eb00
|
github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c
|
||||||
github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989
|
github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989
|
||||||
github.com/pingcap/kvproto v0.0.0-20230206081257-eccad3776d7b
|
github.com/pingcap/kvproto v0.0.0-20230206112125-0561adc37543
|
||||||
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
|
github.com/pingcap/log v1.1.1-0.20221110025148-ca232912c9f3
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/prometheus/client_golang v1.11.0
|
github.com/prometheus/client_golang v1.14.0
|
||||||
github.com/prometheus/client_model v0.2.0
|
github.com/prometheus/client_model v0.3.0
|
||||||
github.com/stathat/consistent v1.0.0
|
github.com/stathat/consistent v1.0.0
|
||||||
github.com/stretchr/testify v1.8.1
|
github.com/stretchr/testify v1.8.1
|
||||||
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a
|
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a
|
||||||
github.com/tikv/pd v1.1.0-beta.0.20230202094356-18df271ce57f
|
github.com/tikv/pd/client v0.0.0-20230206191557-2a7c8d4c9676
|
||||||
github.com/tikv/pd/client v0.0.0-20230202094356-18df271ce57f
|
|
||||||
github.com/twmb/murmur3 v1.1.3
|
github.com/twmb/murmur3 v1.1.3
|
||||||
go.etcd.io/etcd/api/v3 v3.5.2
|
go.etcd.io/etcd/api/v3 v3.5.2
|
||||||
go.etcd.io/etcd/client/v3 v3.5.2
|
go.etcd.io/etcd/client/v3 v3.5.2
|
||||||
go.uber.org/atomic v1.10.0
|
go.uber.org/atomic v1.10.0
|
||||||
go.uber.org/goleak v1.1.12
|
go.uber.org/goleak v1.1.12
|
||||||
go.uber.org/zap v1.20.0
|
go.uber.org/zap v1.24.0
|
||||||
golang.org/x/sync v0.1.0
|
golang.org/x/sync v0.1.0
|
||||||
google.golang.org/grpc v1.51.0
|
google.golang.org/grpc v1.52.3
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/benbjohnson/clock v1.1.0 // indirect
|
github.com/benbjohnson/clock v1.3.0 // indirect
|
||||||
github.com/beorn7/perks v1.0.1 // indirect
|
github.com/beorn7/perks v1.0.1 // indirect
|
||||||
github.com/cespare/xxhash/v2 v2.1.1 // indirect
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||||
github.com/coreos/go-semver v0.3.0 // indirect
|
github.com/coreos/go-semver v0.3.0 // indirect
|
||||||
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
|
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/golang/snappy v0.0.4 // indirect
|
github.com/golang/snappy v0.0.4 // indirect
|
||||||
|
github.com/kr/pretty v0.2.1 // indirect
|
||||||
github.com/kr/text v0.2.0 // indirect
|
github.com/kr/text v0.2.0 // indirect
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
||||||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
||||||
github.com/onsi/ginkgo v1.16.5 // indirect
|
github.com/onsi/ginkgo v1.16.5 // indirect
|
||||||
|
github.com/onsi/gomega v1.20.1 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
github.com/prometheus/common v0.26.0 // indirect
|
github.com/prometheus/common v0.39.0 // indirect
|
||||||
github.com/prometheus/procfs v0.6.0 // indirect
|
github.com/prometheus/procfs v0.9.0 // indirect
|
||||||
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
|
github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 // indirect
|
||||||
go.etcd.io/etcd/client/pkg/v3 v3.5.2 // indirect
|
go.etcd.io/etcd/client/pkg/v3 v3.5.2 // indirect
|
||||||
go.uber.org/multierr v1.7.0 // indirect
|
go.uber.org/multierr v1.9.0 // indirect
|
||||||
golang.org/x/net v0.2.0 // indirect
|
golang.org/x/net v0.5.0 // indirect
|
||||||
golang.org/x/sys v0.2.0 // indirect
|
golang.org/x/sys v0.5.0 // indirect
|
||||||
golang.org/x/text v0.4.0 // indirect
|
golang.org/x/text v0.6.0 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd // indirect
|
google.golang.org/genproto v0.0.0-20230202175211-008b39050e57 // indirect
|
||||||
google.golang.org/protobuf v1.28.1 // indirect
|
google.golang.org/protobuf v1.28.1 // indirect
|
||||||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
stathat.com/c/consistent v1.0.0 // indirect
|
stathat.com/c/consistent v1.0.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,14 +5,14 @@ go 1.19
|
||||||
require (
|
require (
|
||||||
github.com/ninedraft/israce v0.0.3
|
github.com/ninedraft/israce v0.0.3
|
||||||
github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32
|
github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32
|
||||||
github.com/pingcap/failpoint v0.0.0-20220423142525-ae43b7f4e5c3
|
github.com/pingcap/failpoint v0.0.0-20220801062533-2eaa32854a6c
|
||||||
github.com/pingcap/kvproto v0.0.0-20230206081257-eccad3776d7b
|
github.com/pingcap/kvproto v0.0.0-20230206112125-0561adc37543
|
||||||
github.com/pingcap/tidb v0.0.0-20230120062950-38a7c6220ea6
|
github.com/pingcap/tidb v0.0.0-20230120062950-38a7c6220ea6
|
||||||
github.com/pkg/errors v0.9.1
|
github.com/pkg/errors v0.9.1
|
||||||
github.com/stretchr/testify v1.8.1
|
github.com/stretchr/testify v1.8.1
|
||||||
github.com/tidwall/gjson v1.14.1
|
github.com/tidwall/gjson v1.14.1
|
||||||
github.com/tikv/client-go/v2 v2.0.5-0.20230120021435-f89383775234
|
github.com/tikv/client-go/v2 v2.0.5-0.20230202101145-8fd09cd88cce
|
||||||
github.com/tikv/pd/client v0.0.0-20230202094356-18df271ce57f
|
github.com/tikv/pd/client v0.0.0-20230206191557-2a7c8d4c9676
|
||||||
go.uber.org/goleak v1.2.0
|
go.uber.org/goleak v1.2.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -66,13 +66,14 @@ require (
|
||||||
github.com/prometheus/procfs v0.9.0 // indirect
|
github.com/prometheus/procfs v0.9.0 // indirect
|
||||||
github.com/remyoudompheng/bigfft v0.0.0-20220927061507-ef77025ab5aa // indirect
|
github.com/remyoudompheng/bigfft v0.0.0-20220927061507-ef77025ab5aa // indirect
|
||||||
github.com/rogpeppe/go-internal v1.8.0 // indirect
|
github.com/rogpeppe/go-internal v1.8.0 // indirect
|
||||||
github.com/shirou/gopsutil/v3 v3.22.9 // indirect
|
github.com/shirou/gopsutil/v3 v3.22.12 // indirect
|
||||||
github.com/spf13/pflag v1.0.5 // indirect
|
github.com/spf13/pflag v1.0.5 // indirect
|
||||||
github.com/stathat/consistent v1.0.0 // indirect
|
github.com/stathat/consistent v1.0.0 // indirect
|
||||||
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a // indirect
|
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a // indirect
|
||||||
github.com/tidwall/match v1.1.1 // indirect
|
github.com/tidwall/match v1.1.1 // indirect
|
||||||
github.com/tidwall/pretty v1.2.0 // indirect
|
github.com/tidwall/pretty v1.2.0 // indirect
|
||||||
github.com/tikv/pd v1.1.0-beta.0.20230202094356-18df271ce57f // indirect
|
github.com/tklauser/go-sysconf v0.3.11 // indirect
|
||||||
|
github.com/tklauser/numcpus v0.6.0 // indirect
|
||||||
github.com/twmb/murmur3 v1.1.3 // indirect
|
github.com/twmb/murmur3 v1.1.3 // indirect
|
||||||
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect
|
||||||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
||||||
|
|
@ -86,17 +87,17 @@ require (
|
||||||
golang.org/x/exp v0.0.0-20221023144134-a1e5550cf13e // indirect
|
golang.org/x/exp v0.0.0-20221023144134-a1e5550cf13e // indirect
|
||||||
golang.org/x/net v0.5.0 // indirect
|
golang.org/x/net v0.5.0 // indirect
|
||||||
golang.org/x/sync v0.1.0 // indirect
|
golang.org/x/sync v0.1.0 // indirect
|
||||||
golang.org/x/sys v0.4.0 // indirect
|
golang.org/x/sys v0.5.0 // indirect
|
||||||
golang.org/x/text v0.6.0 // indirect
|
golang.org/x/text v0.6.0 // indirect
|
||||||
golang.org/x/time v0.3.0 // indirect
|
golang.org/x/time v0.3.0 // indirect
|
||||||
golang.org/x/tools v0.5.0 // indirect
|
golang.org/x/tools v0.5.0 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd // indirect
|
google.golang.org/genproto v0.0.0-20230202175211-008b39050e57 // indirect
|
||||||
google.golang.org/grpc v1.51.0 // indirect
|
google.golang.org/grpc v1.52.3 // indirect
|
||||||
google.golang.org/protobuf v1.28.1 // indirect
|
google.golang.org/protobuf v1.28.1 // indirect
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
replace github.com/tikv/client-go/v2 => ../
|
replace github.com/tikv/client-go/v2 => ../
|
||||||
|
|
||||||
replace github.com/pingcap/tidb => github.com/HuSharp/tidb v0.0.0-20230201105642-2ff0bda68903
|
replace github.com/pingcap/tidb => github.com/oh-my-tidb/tidb v1.1.0-beta.0.20230207023603-9d66ec415d5b
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -22,7 +22,7 @@ import (
|
||||||
"github.com/tikv/client-go/v2/internal/resourcecontrol"
|
"github.com/tikv/client-go/v2/internal/resourcecontrol"
|
||||||
"github.com/tikv/client-go/v2/tikvrpc"
|
"github.com/tikv/client-go/v2/tikvrpc"
|
||||||
"github.com/tikv/client-go/v2/tikvrpc/interceptor"
|
"github.com/tikv/client-go/v2/tikvrpc/interceptor"
|
||||||
resourceControlClient "github.com/tikv/pd/pkg/mcs/resource_manager/client"
|
resourceControlClient "github.com/tikv/pd/client/resource_manager/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ import (
|
||||||
"github.com/tikv/client-go/v2/txnkv/txnsnapshot"
|
"github.com/tikv/client-go/v2/txnkv/txnsnapshot"
|
||||||
"github.com/tikv/client-go/v2/util"
|
"github.com/tikv/client-go/v2/util"
|
||||||
pd "github.com/tikv/pd/client"
|
pd "github.com/tikv/pd/client"
|
||||||
resourceControlClient "github.com/tikv/pd/pkg/mcs/resource_manager/client"
|
resourceControlClient "github.com/tikv/pd/client/resource_manager/client"
|
||||||
clientv3 "go.etcd.io/etcd/client/v3"
|
clientv3 "go.etcd.io/etcd/client/v3"
|
||||||
atomicutil "go.uber.org/atomic"
|
atomicutil "go.uber.org/atomic"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue