-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a plan to update google.golang.org/grpc? #11650
Comments
I got this 😢 |
Yeah, that'd be nice to address that... |
I got this when i was downloading the package: |
Would be great if we can get the PR merged :), also seeing issues with grpc incompatibility. |
I got this error when use go-micro/v2/web package ../../../../go/pkg/mod/github.com/coreos/etcd@v3.3.20+incompatible/clientv3/balancer/picker/err.go:37:44: undefined: balancer.PickOptions github.com/coreos/etcd/clientv3/balancer/resolver/endpoint../../../../go/pkg/mod/github.com/coreos/etcd@v3.3.20+incompatible/clientv3/balancer/resolver/endpoint/endpoint.go:114:78: undefined: resolver.BuildOption |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
The same issue has been found on the next steps: import (
"context"
"flag"
"fmt"
"log"
"time"
"go.etcd.io/etcd/clientv3"
"go.etcd.io/etcd/clientv3/concurrency"
)
func main() {
var name = flag.String("name", "", "give a name")
flag.Parse() // Create a etcd client
cli, err := clientv3.New(clientv3.Config{Endpoints: []string{"localhost:2379"}})
if err != nil {
log.Fatal(err)
}
defer cli.Close() // create a sessions to aqcuire a lock
s, _ := concurrency.NewSession(cli)
defer s.Close()
l := concurrency.NewMutex(s, "/distributed-lock/")
ctx := context.Background() // acquire lock (or wait to have it)
if err := l.Lock(ctx); err != nil {
log.Fatal("cannot get lock")
}
fmt.Println("acquired lock for ", *name)
fmt.Println("Do some work in", *name)
time.Sleep(5 * time.Second)
if err := l.Unlock(ctx); err != nil {
log.Fatal(err)
}
fmt.Println("released lock for ", *name)
} Works when I run But at the time to vendoring it has the same issue I got
If I run I get
Is this a know bug or related to this issue? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
This is being worked on in: |
Please use: #12124 is canonical for grpc update problem. |
Do you mind update the google.golang.org/grpc to v1.27.0?
The text was updated successfully, but these errors were encountered: