zrepl/rpc/dataconn
Christian Schwarz efe7b17d21 Update to protobuf v1.25 and grpc 1.35; bump CI to go1.12
From:
github.com/golang/protobuf v1.3.2
google.golang.org/grpc v1.17.0

To:
github.com/golang/protobuf v1.4.3
google.golang.org/grpc v1.35.0
google.golang.org/protobuf v1.25.0

About the two protobuf packages:
https://developers.google.com/protocol-buffers/docs/reference/go/faq
> Version v1.4.0 and higher of github.com/golang/protobuf wrap the new
implementation and permit programs to adopt the new API incrementally. For
example, the well-known types defined in github.com/golang/protobuf/ptypes are
simply aliases of those defined in the newer module. Thus,
google.golang.org/protobuf/types/known/emptypb and
github.com/golang/protobuf/ptypes/empty may be used interchangeably.

Notable Code Changes in zrepl:
- generate protobufs now contain a mutex so we can't copy them by value
  anymore
- grpc.WithDialer is deprecated => use grpc.WithContextDialer instead

Go1.12 is now actually required by some of the dependencies.
2021-01-25 00:39:01 +01:00
..
base2bufpool build: drop go Dep, switch to modules, support Go 1.13 2019-09-14 13:36:44 +02:00
frameconn bump golangci-lint to 1.35.2 and fix resulting lint errors 2021-01-25 00:16:01 +01:00
heartbeatconn rpc/dataconn: fix I/O timeout on variable receive rate 2019-03-31 14:20:06 +02:00
microbenchmark [#307] add package trace, integrate it with logging, and adopt it throughout zrepl 2020-05-19 11:30:02 +02:00
stream rpc: fix read mutex unlock in dataconn stream 2021-01-25 00:16:01 +01:00
timeoutconn rpc: fix data race in timeoutconn 2021-01-25 00:16:01 +01:00
dataconn_client.go Update to protobuf v1.25 and grpc 1.35; bump CI to go1.12 2021-01-25 00:39:01 +01:00
dataconn_debug.go bump golangci-lint to 1.35.2 and fix resulting lint errors 2021-01-25 00:16:01 +01:00
dataconn_server.go Update to protobuf v1.25 and grpc 1.35; bump CI to go1.12 2021-01-25 00:39:01 +01:00
dataconn_shared.go [#277] rpc + zfs: drop zfs.StreamCopier, use io.ReadCloser instead 2020-05-18 19:46:24 +02:00
dataconn_test.go rpc rewrite: control RPCs using gRPC + separate RPC for data transfer 2019-03-13 13:53:48 +01:00