-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Upgrade thrift to 0.13 #2311
Upgrade thrift to 0.13 #2311
Conversation
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
@@ -4,12 +4,13 @@ go 1.13 | |||
|
|||
replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190620085101-78d2af792bab | |||
|
|||
replace github.com/jaegertracing/jaeger => ./../../ | |||
// TODO uncomment once OTEL upgrades Jaeger with thrift 0.13 | |||
//replace github.com/jaegertracing/jaeger => ./../../ |
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.
I had to do this otherwise Jeger OTEL would not compile - OTEL depends on older Jaeger version using older thrift.
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.
please book a ticket
Codecov Report
@@ Coverage Diff @@
## master #2311 +/- ##
==========================================
- Coverage 96.21% 96.20% -0.01%
==========================================
Files 203 203
Lines 10291 10289 -2
==========================================
- Hits 9901 9899 -2
Misses 335 335
Partials 55 55
Continue to review full report at Codecov.
|
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
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 - just a couple of clarifications in the dependencies.
@@ -759,6 +759,9 @@ github.com/jackc/pgx/v4 v4.4.1/go.mod h1:6iSW+JznC0YT+SgBn7rNxoEBsBgSmnC5FwyCekO | |||
github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= | |||
github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= | |||
github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= | |||
github.com/jaegertracing/jaeger v1.17.0/go.mod h1:LUWPSnzNPGRubM8pk0inANGitpiMOOxihXx0+53llXI= |
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.
This isn't required.
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.
Weird go mod tidy keeps it there. Anyway this is just temporary we will use the override directive once we upgrade Jaeger in OTEL.
@@ -1234,6 +1238,8 @@ github.com/uber/jaeger-lib v2.2.0+incompatible h1:MxZXOiR2JuoANZ3J6DE/U0kSFv/eJ/ | |||
github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= | |||
github.com/uber/tchannel-go v1.10.0 h1:YOihLHuvkwT3nzvpgqFtexFW+pb5vD1Tz7h/bIWApgE= | |||
github.com/uber/tchannel-go v1.10.0/go.mod h1:Rrgz1eL8kMjW/nEzZos0t+Heq0O4LhnUJVA32OvWKHo= | |||
github.com/uber/tchannel-go v1.16.0 h1:B7dirDs15/vJJYDeoHpv3xaEUjuRZ38Rvt1qq9g7pSo= |
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.
Should this still be pulled in?
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.
Yes because we pin the Jaeger to 1.18.1 which uses t-channel
. This is just temporary until OTEL is upgraded with the latest Jaeger.
@@ -1,21 +0,0 @@ | |||
// Autogenerated by Thrift Compiler (0.9.3) |
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.
why are there so many files removed? Is the content migrated elsewhere?
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.
I have removed entire thrift-gen
directory and run the generator. Maybe the new generator uses a different file structure?
Signed-off-by: Pavol Loffay ploffay@redhat.com
Resolves #1972