Jille / rufs

RUFS - share files with your friends
4 stars 0 forks source link

build(deps): bump google.golang.org/grpc from 1.37.0 to 1.41.0 #70

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps google.golang.org/grpc from 1.37.0 to 1.41.0.

Release notes

Sourced from google.golang.org/grpc's releases.

Release 1.41.0

API Changes

  • xds: Promote xds server and creds APIs to stable (#4753)
  • balancer: add ExitIdle interface to instruct the balancer to attempt to leave the IDLE state by connecting SubConns if appropriate. (#4673)
    • NOTICE: This method will be required by the Balancer interface in the future

Behavior Changes

  • xds: update xdsclient to keep valid resources from the response even if it has invalid responses and is NACK'ed (see gRFC 260) (#4743)
  • balancer: SubConns no longer automatically reconnect after READY; instead they transition to IDLE on connection loss (#4613)

New Features

  • xds: add support for RINGHASH lb-policy and affinity (#4741)
  • xds: add support for retry policy in VirtualHosts and Routes (#4738)
  • stats: support stats for all retry attempts; support transparent retry (#4749)
  • authz: create interceptors for gRPC security policy API (#4664)

Bug Fixes

  • transport: fix race in transport stream accessing s.recvCompress (#4641)
  • client: fix transparent retries when per-RPC credentials are in use (#4785)
  • server: fix bug that net.Conn is leaked if the connection is closed (io.EOF) immediately with no traffic (#4633)
  • oauth: Allow access to Google API regional endpoints via Google Default Credentials (#4713)

Release 1.40.0

Behavior Changes

  • balancer: client channel no longer connects to idle subchannels that are returned by the pickers; LB policy should call SubConn.Connect instead. (#4579)
    • This change is in line with existing documentation stating the balancer must call Connect on idle SubConns in order for them to connect, and is preparation for an upcoming change that transitions SubConns to the idle state when connections are lost. See https://pkg.go.dev/google.golang.org/grpc/balancer#SubConn for more details.

Bug Fixes

  • transport: fail RPCs without HTTP status 200 (OK), according to the gRPC spec (#4474)
  • binarylog: fail the Write() method if proto marshaling fails (#4582)
  • binarylog: exit the flusher goroutine upon closing the bufferedSink (#4583)

New Features

  • metadata: add Delete method to MD to encapsulate lowercasing (#4549)
  • xds/cds: support logical DNS cluster and aggregated cluster (#4594)
  • stats: add stats.Begin.IsClientStream and IsServerStream to indicate the type of RPC invoked (#4533)

Performance Improvements

  • server: improve performance when multiple interceptors are used (#4524)

Release 1.39.1

  • server: fix bug that net.Conn is leaked if the connection is closed (io.EOF) immediately with no traffic (#4642)
  • transport: fix race in transport stream accessing s.recvCompress (#4627)

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Jille commented 3 years ago

Test fails with:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x90097f]

goroutine 94 [running]:
google.golang.org/grpc.(*Server).Serve.func3(0xc0001736c0, 0x104b510, 0xc00012e328, 0x1051e70, 0xc0000bb200)
    /home/runner/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:821 +0x3f
created by google.golang.org/grpc.(*Server).Serve
    /home/runner/go/pkg/mod/google.golang.org/grpc@v1.41.0/server.go:820 +0x325
    local_test.go:46: Command bin/client --port=11010 --config=/tmp/rufs-test-1549316125/client-1/cfg --mountpoint=/tmp/rufs-test-1549316125/client-1/mnt failed: exit status 2
2021/10/22 14:49:54 Sending API request: /api/shares_in_circle: map[circle:localhost:11000]
    local_test.go:242: shares_in_circle returned incorrect list:   []string(
        -   nil,
        +   {"shareA", "shareB"},
          )
2021/10/22 14:49:54 Sending API request: /api/add_share: map[circle:localhost:11000 local:/tmp/rufs-test-1549316125/client-2/shareA share:shareA]
md5sum: /tmp/rufs-test-1549316125/client-2/mnt/shareA/file-0.dat: No such file or directory
    local_test.go:27: Command md5sum /tmp/rufs-test-1549316125/client-2/mnt/shareA/file-0.dat failed: exit status 1
Jille commented 3 years ago

@dependabot rebase

to pick up 5e39123, which should fix tests