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
Increase grpc max recv message size #2775
Conversation
Increases the maximum recieved message size for gRPC client connections to math.MaxInt32. This means that large controlapi List requests will be proxied correctly. Signed-off-by: Drew Erny <drew.erny@docker.com>
c6dfd6c
to
25c6d44
Compare
@dperny if this codeline is only accessible behind an api that has the proper creds, then i think the increase of the max message size is ok |
Looks like this only affects the connections between the managers. Also, this is reverting back grpc to the same behavior as previous releases. These help mitigate the risk somewhat @andrewhsu |
Codecov Report
@@ Coverage Diff @@
## master #2775 +/- ##
=========================================
+ Coverage 61.97% 62% +0.02%
=========================================
Files 137 137
Lines 22047 22050 +3
=========================================
+ Hits 13664 13672 +8
+ Misses 6912 6906 -6
- Partials 1471 1472 +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nitpick: update the comment in the code to something along the lines of #2775 (comment) |
Changes included; - moby/swarmkit#2735 Assign secrets individually to each task - moby/swarmkit#2759 Adding a new `Deallocator` component - moby/swarmkit#2738 Add additional info for secret drivers - moby/swarmkit#2775 Increase grpc max recv message size - addresses moby#37941 - addresses moby#37997 - follow-up to moby#38103 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Changes included; - moby/swarmkit#2735 Assign secrets individually to each task - moby/swarmkit#2759 Adding a new `Deallocator` component - moby/swarmkit#2738 Add additional info for secret drivers - moby/swarmkit#2775 Increase grpc max recv message size - addresses moby/moby#37941 - addresses moby/moby#37997 - follow-up to moby/moby#38103 Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: be3843c8c8fb30b4a604dae9d0dad3d393db717c Component: engine
Changes included; - moby/swarmkit#2735 Assign secrets individually to each task - moby/swarmkit#2759 Adding a new `Deallocator` component - moby/swarmkit#2738 Add additional info for secret drivers - moby/swarmkit#2775 Increase grpc max recv message size - addresses moby#37941 - addresses moby#37997 - follow-up to moby#38103 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Skipping the usual boilerplate, because this is a kludge, everyone involved knows its a kludge, and we'll revert it in the next release.
Increases the maximum recieved message size for gRPC client connections to math.MaxInt32. This means that large controlapi
List
requests will be proxied correctly.