Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

chore: update dependency grpc to 1.24.2 #750

Merged
merged 3 commits into from Feb 17, 2020

Conversation

mayurkale22
Copy link
Member

No description provided.

@mayurkale22
Copy link
Member Author

This is based on #715, @draffensperger and @lovrop please review

Copy link

@lovrop lovrop left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -67,7 +67,7 @@
"dependencies": {
"@opencensus/core": "^0.0.19",
"@opencensus/propagation-binaryformat": "^0.0.19",
"grpc": "~1.21.0",
"grpc": "1.24.2",
Copy link

Choose a reason for hiding this comment

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

^1.24.2 would be more flexible and IMO fit better due to the nature of the dependency (per the Additional context section on #715). Did you intentionally choose an exact version match?

Copy link
Member Author

Choose a reason for hiding this comment

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

done in a78335a

@lovrop
Copy link

lovrop commented Feb 13, 2020

Looks good to me, thanks for the tweak. Seems @draffensperger needs to sign off?

@mayurkale22
Copy link
Member Author

@draffensperger Please review when you get a chance.

@@ -546,7 +546,7 @@ describe('GrpcPlugin() ', function() {
grpcModule.status.OK
);
if (method.method === grpcClient.unaryMethod) {
assertStats(testExporter, 170);
assertStats(testExporter, 188);
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, why are the numbers changing here? Will that confuse users at all?

Copy link
Member Author

Choose a reason for hiding this comment

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

The latest gRPC release (grpc@1.24.2) added new options (flags) to Metadata class due to this size of bytes send increased a little bit (we measure the sent_bytes_per_rpc).

Proposal: https://github.com/grpc/proposal/blob/master/L48-node-metadata-options.md
PR: grpc/grpc-node#796

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants