-
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
Tag Search is working incorrectly with badger #1808
Comments
@burmanm Any thoughts? |
@zerda It's not actually in the mergeJoinIds, but the index seek code. TraceIDs are correctly sorted, however the actual data is stored as sorted by timestamp first and not TraceID which causes this error. And none of the unit tests catched this as they had time in the same order as ids (in tests that mattered). The index seek logging reveals this: scanIndexKeys result:
Parsed traceIDs:
I'll have to add sort back to that scanIndexKeys method (after duplicate removal). |
Thanks for catching this, I'll fix it tomorrow. |
…cing#1808 Signed-off-by: Michael Burman <yak@iki.fi>
…cing#1808 Signed-off-by: Michael Burman <yak@iki.fi>
…cing#1808 Signed-off-by: Michael Burman <yak@iki.fi>
…cing#1808 (jaegertracing#1809) * Fix ordering of indexScanKeys after TraceID parsing, closes jaegertracing#1808 Signed-off-by: Michael Burman <yak@iki.fi> * Address comments Signed-off-by: Michael Burman <yak@iki.fi> * .. Signed-off-by: Michael Burman <yak@iki.fi> Signed-off-by: radekg <radek@gruchalski.com>
…cing#1808 (jaegertracing#1809) * Fix ordering of indexScanKeys after TraceID parsing, closes jaegertracing#1808 Signed-off-by: Michael Burman <yak@iki.fi> * Address comments Signed-off-by: Michael Burman <yak@iki.fi> * .. Signed-off-by: Michael Burman <yak@iki.fi> Signed-off-by: Jonah Back <jonah@jonahback.com>
Problem - what in Jaeger blocks you from solving the requirement?
I'm using nginx ingress controller integrated with Jaeger (badger storage).
When searching with
http.request_id
tag, the result is incorrectly empty.Here is an unit test to reproduce this issue.
And here are the traces produced by nginx. nginx-traces.zip
Proposal - what do you suggest to solve the problem or improve the existing situation?
Maybe it's about
TraceID
(the first traceID is large than the second one), andmergeJoinIds
function is not handled this correclty.The text was updated successfully, but these errors were encountered: