Skip to content

Commit

Permalink
Update CHANGELOG, up the gRPC max size to 512MB
Browse files Browse the repository at this point in the history
  • Loading branch information
burmanm committed Oct 25, 2023
1 parent 457e8db commit d1106c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG/CHANGELOG-1.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ When cutting a new release, update the `unreleased` heading to the tag being gen
* [BUGFIX] [#1060](https://github.com/k8ssandra/k8ssandra-operator/issues/1060) Fix restore mapping shuffling nodes when restoring in place
* [BUGFIX] [#1061](https://github.com/k8ssandra/k8ssandra-operator/issues/1061) Point to cass-config-builder 1.0.7 for arm64 compatibility
* [ENHANCEMENT] [#956](https://github.com/k8ssandra/k8ssandra-operator/issues/956) Enable linting in the project
* [BUGFIX] [#1102](https://github.com/k8ssandra/k8ssandra-operator/issues/1102) Update gRPC maximum receive size to 512MB. Note, the operator might need more max memory than the default to take advantage of this.
2 changes: 1 addition & 1 deletion pkg/medusa/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type DefaultFactory struct {

func (f *DefaultFactory) NewClient(ctx context.Context, address string) (Client, error) {
callCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
conn, err := grpc.DialContext(callCtx, address, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock(), grpc.WithDefaultCallOptions(grpc.WaitForReady(false), grpc.MaxCallRecvMsgSize(1024*1024*256)))
conn, err := grpc.DialContext(callCtx, address, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithBlock(), grpc.WithDefaultCallOptions(grpc.WaitForReady(false), grpc.MaxCallRecvMsgSize(1024*1024*512)))

Check warning on line 27 in pkg/medusa/grpc.go

View check run for this annotation

Codecov / codecov/patch

pkg/medusa/grpc.go#L27

Added line #L27 was not covered by tests
f.cancelFunc = cancel

if err != nil {
Expand Down

0 comments on commit d1106c9

Please sign in to comment.