-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Unexpected handling of binary annotations containing signed long values #1268
Comments
this probably wasn't caught because people don't use Long annotations (as That said, happy to fix the regression.. will have a go shortly! On Mon, Sep 5, 2016 at 10:48 AM, Tristan Penman [email protected]
|
in general, tracers toString inputs like numbers, which allows them to be here's the model v2 thing which hopefully will remove the niche numeric On Mon, Sep 5, 2016 at 10:51 AM, Adrian Cole [email protected]
|
You might have set a record for fastest issue response there. Thanks for looking into it! So it sounds like the right thing for me to do here would be to raise issues (or submit PRs) for the projects that I'm using, since string values are clearly the direction forward. |
oh interesting.. I think that there's an issue with B3 in that demo. Ex. you can copy/paste stuff from here until we have extracted a B3 library On Mon, Sep 5, 2016 at 10:57 AM, Tristan Penman [email protected]
|
I can't find that line number (with checkArgument), but I can add some On Mon, Sep 5, 2016 at 10:48 AM, Tristan Penman [email protected]
|
It might help if I paste the code block and path. /zipkin/zipkin/src/main/java/zipkin/internal/Buffer.java:
|
just found it, but thanks for the assist!!
|
I was on a wrong branch :)
|
gonna take me an hour (developer hour.. so maybe a couple :) ) to fix On Mon, Sep 5, 2016 at 11:15 AM, Adrian Cole [email protected] wrote:
|
No problem at all. This response has already exceeded all of my expectations! 👍 |
I'm pleased to say that your fix in commit 3b8d56a has resolved the issue. Thanks again for your help! |
Thanks for your help identifying this! 1.8.2 will be out shortly
|
I noticed after upgrading from version 1.7 to 1.8 (and later 1.8.1) of Zipkin, that the recent Codec changes may have introduced a regression in the handling of binary annotations containing negative ints or longs.
I found it easy to reproduce using the TracingBasics demo in activator-akka-tracing which records the result of
Random.nextLong()
as a binary annotation.After running this demo, attempting to 'Find Traces' using the UI results in an error similar to:
I've been able to trace this back to the checkArgument call in Buffer.java:246
Admittedly, I don't understand Zipkin well enough to know whether this was/is now intended behaviour. If it is, I can raise an issue with the authors of the akka-tracing / activator-akka-tracing projects.
The text was updated successfully, but these errors were encountered: