You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered something similar. It seems like the undefined stuff above has been removed in some newer version of grpc. My workaround was to lock/replace the grpc version in go.mod by adding:
go get github.com/WangXiangUSTC/tidb-lite v0.0.0-20211231154503-f1bd5ebe02f6
go mod edit -replace="google.golang.org/grpc=google.golang.org/[email protected]"
go mod edit -replace="google.golang.org/protobuf=google.golang.org/[email protected]"
go mod tidy
When I run
go get github.com/WangXiangUSTC/tidb-lite
, I got the below error:go.etcd.io/etcd/clientv3/balancer/picker
/Users/martinhong/go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/picker/err.go:37:44: undefined: balancer.PickOptions
/Users/martinhong/go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/picker/roundrobin_balanced.go:55:54: undefined: balancer.PickOptions
go.etcd.io/etcd/clientv3/balancer/resolver/endpoint
/Users/martinhong/go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/resolver/endpoint/endpoint.go:114:78: undefined: resolver.BuildOption
/Users/martinhong/go/pkg/mod/go.etcd.io/[email protected]/clientv3/balancer/resolver/endpoint/endpoint.go:182:31: undefined: resolver.ResolveNowOption
It prevented me from launch unit tests.
The text was updated successfully, but these errors were encountered: