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

Un-replace grpc dep and upgrade to v1.41.0 #685

Merged
merged 1 commit into from Jan 4, 2022

Conversation

colega
Copy link
Contributor

@colega colega commented Jan 3, 2022

What this PR does:

Removed the replace directive for grpc package and upgraded to 1.41.0
which will be needed for the further Prometheus upgrade anyway.

Checked all the concerned usages of From.+Context() and all of them
use lowercase constants, so changes from
grpc/grpc-go#4767 should not affect this code.

gRPC library releases: https://github.com/grpc/grpc-go/releases

Which issue(s) this PR fixes:

None, just preparing for Prometheus upgrade in #683 without creating more Tech Debt.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Removed the replace directive for grpc package and upgraded to 1.41.0
which will be needed for the further Prometheus upgrade anyway.

Checked all the concerned usages of `From.+Context()` and all of them
use lowercase constants, so changes from
grpc/grpc-go#4767 should not affect this code.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
@colega colega requested a review from pstibrany January 3, 2022 16:35
Copy link
Member

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

I checked list of changes between release 1.38.0 and 1.41.0, and I don't see anything that would impact our usage.

I don't think grpc/grpc-go#4416 is a concern, because metadata is transported as http2 headers, which are always lowercase, and if we used upper-case anywhere, it would already be broken (converted to lowercase when transferred and then unavailable when accessing it via upper-case key). grpc/grpc-go#4416 fixes access to always use lower-case keys.

@pstibrany pstibrany merged commit 6c1b606 into main Jan 4, 2022
@pstibrany pstibrany deleted the unreplace-grpc-and-update-to-1.41.0 branch January 4, 2022 08:09
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.

None yet

2 participants