Skip to content
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

[Access] Update default grpc max message size to 1GiB #4609

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

peterargue
Copy link
Contributor

Closes: #4596

The amount of data returned from some Access API requests has increased over time, resulting in response size errors on Access and Execution nodes. While the max message size is configurable via CLI flags, this PR updates the default to be well above the current largest messages.

@codecov-commenter
Copy link

codecov-commenter commented Aug 9, 2023

Codecov Report

Merging #4609 (67e6d12) into master (f074502) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4609      +/-   ##
==========================================
+ Coverage   54.63%   54.67%   +0.03%     
==========================================
  Files         915      915              
  Lines       85445    85445              
==========================================
+ Hits        46687    46716      +29     
+ Misses      35170    35141      -29     
  Partials     3588     3588              
Flag Coverage Δ
unittests 54.67% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
utils/grpcutils/grpc.go 50.53% <ø> (ø)

... and 7 files with indirect coverage changes

Copy link
Contributor

@janezpodhostnik janezpodhostnik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do clients also need to be updated?

@peterargue
Copy link
Contributor Author

peterargue commented Aug 9, 2023

do clients also need to be updated?

It wouldn't hurt, but it's only needed if they are using this setting directly from onflow/flow-go and are running into issues with messages being too large. This change is attempting to "future proof" this setting until CCF is enabled on the full path.

@peterargue
Copy link
Contributor Author

bors merge

bors bot added a commit that referenced this pull request Aug 9, 2023
4609: [Access] Update default grpc max message size to 1GiB r=peterargue a=peterargue

Closes: #4596

The amount of data returned from some Access API requests has increased over time, resulting in response size errors on Access and Execution nodes. While the max message size is configurable via CLI flags, this PR updates the default to be well above the current largest messages.

Co-authored-by: Peter Argue <89119817+peterargue@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Aug 9, 2023

@peterargue peterargue closed this Aug 9, 2023
@peterargue peterargue reopened this Aug 9, 2023
@peterargue peterargue merged commit 3f67654 into master Aug 9, 2023
66 checks passed
@peterargue peterargue deleted the petera/4596-increase-max-grpc-msg-size branch August 9, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Access] Update default grpc message size
5 participants