Merge pull request #1010 from kubernetes-csi/dependabot/go_modules/google.golang.org/grpc-1.61.1
Bump google.golang.org/grpc from 1.61.0 to 1.61.1
This commit is contained in:
2
go.mod
2
go.mod
@@ -15,7 +15,7 @@ require (
|
|||||||
github.com/prometheus/client_model v0.5.0
|
github.com/prometheus/client_model v0.5.0
|
||||||
github.com/prometheus/common v0.46.0
|
github.com/prometheus/common v0.46.0
|
||||||
github.com/spf13/cobra v1.8.0
|
github.com/spf13/cobra v1.8.0
|
||||||
google.golang.org/grpc v1.61.0
|
google.golang.org/grpc v1.61.1
|
||||||
google.golang.org/protobuf v1.32.0
|
google.golang.org/protobuf v1.32.0
|
||||||
k8s.io/api v0.29.0
|
k8s.io/api v0.29.0
|
||||||
k8s.io/apimachinery v0.29.0
|
k8s.io/apimachinery v0.29.0
|
||||||
|
4
go.sum
4
go.sum
@@ -198,8 +198,8 @@ google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAs
|
|||||||
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
|
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 h1:Jyp0Hsi0bmHXG6k9eATXoYtjd6e2UzZ1SCn/wIupY14=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 h1:Jyp0Hsi0bmHXG6k9eATXoYtjd6e2UzZ1SCn/wIupY14=
|
||||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA=
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17/go.mod h1:oQ5rr10WTTMvP4A36n8JpR1OrO1BEiV4f78CneXZxkA=
|
||||||
google.golang.org/grpc v1.61.0 h1:TOvOcuXn30kRao+gfcvsebNEa5iZIiLkisYEkf7R7o0=
|
google.golang.org/grpc v1.61.1 h1:kLAiWrZs7YeDM6MumDe7m3y4aM6wacLzM1Y/wiLP9XY=
|
||||||
google.golang.org/grpc v1.61.0/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
|
google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
|
||||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||||
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
|
||||||
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
|
google.golang.org/protobuf v1.32.0 h1:pPC6BG5ex8PDFnkbrGU3EixyhKcQ2aDuBS36lqK/C7I=
|
||||||
|
5
vendor/google.golang.org/grpc/internal/transport/controlbuf.go
generated
vendored
5
vendor/google.golang.org/grpc/internal/transport/controlbuf.go
generated
vendored
@@ -535,8 +535,8 @@ const minBatchSize = 1000
|
|||||||
// size is too low to give stream goroutines a chance to fill it up.
|
// size is too low to give stream goroutines a chance to fill it up.
|
||||||
//
|
//
|
||||||
// Upon exiting, if the error causing the exit is not an I/O error, run()
|
// Upon exiting, if the error causing the exit is not an I/O error, run()
|
||||||
// flushes and closes the underlying connection. Otherwise, the connection is
|
// flushes the underlying connection. The connection is always left open to
|
||||||
// left open to allow the I/O error to be encountered by the reader instead.
|
// allow different closing behavior on the client and server.
|
||||||
func (l *loopyWriter) run() (err error) {
|
func (l *loopyWriter) run() (err error) {
|
||||||
defer func() {
|
defer func() {
|
||||||
if l.logger.V(logLevel) {
|
if l.logger.V(logLevel) {
|
||||||
@@ -544,7 +544,6 @@ func (l *loopyWriter) run() (err error) {
|
|||||||
}
|
}
|
||||||
if !isIOError(err) {
|
if !isIOError(err) {
|
||||||
l.framer.writer.Flush()
|
l.framer.writer.Flush()
|
||||||
l.conn.Close()
|
|
||||||
}
|
}
|
||||||
l.cbuf.finish()
|
l.cbuf.finish()
|
||||||
}()
|
}()
|
||||||
|
8
vendor/google.golang.org/grpc/internal/transport/http2_client.go
generated
vendored
8
vendor/google.golang.org/grpc/internal/transport/http2_client.go
generated
vendored
@@ -451,7 +451,13 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
|
|||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
t.loopy = newLoopyWriter(clientSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
|
t.loopy = newLoopyWriter(clientSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
|
||||||
t.loopy.run()
|
if err := t.loopy.run(); !isIOError(err) {
|
||||||
|
// Immediately close the connection, as the loopy writer returns
|
||||||
|
// when there are no more active streams and we were draining (the
|
||||||
|
// server sent a GOAWAY). For I/O errors, the reader will hit it
|
||||||
|
// after draining any remaining incoming data.
|
||||||
|
t.conn.Close()
|
||||||
|
}
|
||||||
close(t.writerDone)
|
close(t.writerDone)
|
||||||
}()
|
}()
|
||||||
return t, nil
|
return t, nil
|
||||||
|
23
vendor/google.golang.org/grpc/internal/transport/http2_server.go
generated
vendored
23
vendor/google.golang.org/grpc/internal/transport/http2_server.go
generated
vendored
@@ -322,8 +322,24 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport,
|
|||||||
go func() {
|
go func() {
|
||||||
t.loopy = newLoopyWriter(serverSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
|
t.loopy = newLoopyWriter(serverSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
|
||||||
t.loopy.ssGoAwayHandler = t.outgoingGoAwayHandler
|
t.loopy.ssGoAwayHandler = t.outgoingGoAwayHandler
|
||||||
t.loopy.run()
|
err := t.loopy.run()
|
||||||
close(t.loopyWriterDone)
|
close(t.loopyWriterDone)
|
||||||
|
if !isIOError(err) {
|
||||||
|
// Close the connection if a non-I/O error occurs (for I/O errors
|
||||||
|
// the reader will also encounter the error and close). Wait 1
|
||||||
|
// second before closing the connection, or when the reader is done
|
||||||
|
// (i.e. the client already closed the connection or a connection
|
||||||
|
// error occurred). This avoids the potential problem where there
|
||||||
|
// is unread data on the receive side of the connection, which, if
|
||||||
|
// closed, would lead to a TCP RST instead of FIN, and the client
|
||||||
|
// encountering errors. For more info:
|
||||||
|
// https://github.com/grpc/grpc-go/issues/5358
|
||||||
|
select {
|
||||||
|
case <-t.readerDone:
|
||||||
|
case <-time.After(time.Second):
|
||||||
|
}
|
||||||
|
t.conn.Close()
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
go t.keepalive()
|
go t.keepalive()
|
||||||
return t, nil
|
return t, nil
|
||||||
@@ -609,8 +625,8 @@ func (t *http2Server) operateHeaders(ctx context.Context, frame *http2.MetaHeade
|
|||||||
// traceCtx attaches trace to ctx and returns the new context.
|
// traceCtx attaches trace to ctx and returns the new context.
|
||||||
func (t *http2Server) HandleStreams(ctx context.Context, handle func(*Stream)) {
|
func (t *http2Server) HandleStreams(ctx context.Context, handle func(*Stream)) {
|
||||||
defer func() {
|
defer func() {
|
||||||
<-t.loopyWriterDone
|
|
||||||
close(t.readerDone)
|
close(t.readerDone)
|
||||||
|
<-t.loopyWriterDone
|
||||||
}()
|
}()
|
||||||
for {
|
for {
|
||||||
t.controlBuf.throttle()
|
t.controlBuf.throttle()
|
||||||
@@ -1329,6 +1345,7 @@ func (t *http2Server) outgoingGoAwayHandler(g *goAway) (bool, error) {
|
|||||||
if err := t.framer.fr.WriteGoAway(sid, g.code, g.debugData); err != nil {
|
if err := t.framer.fr.WriteGoAway(sid, g.code, g.debugData); err != nil {
|
||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
|
t.framer.writer.Flush()
|
||||||
if retErr != nil {
|
if retErr != nil {
|
||||||
return false, retErr
|
return false, retErr
|
||||||
}
|
}
|
||||||
@@ -1349,7 +1366,7 @@ func (t *http2Server) outgoingGoAwayHandler(g *goAway) (bool, error) {
|
|||||||
return false, err
|
return false, err
|
||||||
}
|
}
|
||||||
go func() {
|
go func() {
|
||||||
timer := time.NewTimer(time.Minute)
|
timer := time.NewTimer(5 * time.Second)
|
||||||
defer timer.Stop()
|
defer timer.Stop()
|
||||||
select {
|
select {
|
||||||
case <-t.drainEvent.Done():
|
case <-t.drainEvent.Done():
|
||||||
|
2
vendor/google.golang.org/grpc/version.go
generated
vendored
2
vendor/google.golang.org/grpc/version.go
generated
vendored
@@ -19,4 +19,4 @@
|
|||||||
package grpc
|
package grpc
|
||||||
|
|
||||||
// Version is the current grpc version.
|
// Version is the current grpc version.
|
||||||
const Version = "1.61.0"
|
const Version = "1.61.1"
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@@ -231,7 +231,7 @@ google.golang.org/appengine/urlfetch
|
|||||||
# google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17
|
# google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
google.golang.org/genproto/googleapis/rpc/status
|
google.golang.org/genproto/googleapis/rpc/status
|
||||||
# google.golang.org/grpc v1.61.0
|
# google.golang.org/grpc v1.61.1
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
google.golang.org/grpc
|
google.golang.org/grpc
|
||||||
google.golang.org/grpc/attributes
|
google.golang.org/grpc/attributes
|
||||||
|
Reference in New Issue
Block a user