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

[badger] Filter duplicate results from a single indexSeek [fixes #1604] #1649

Merged
merged 2 commits into from
Jul 4, 2019

Conversation

burmanm
Copy link
Contributor

@burmanm burmanm commented Jul 2, 2019

Signed-off-by: Michael Burman yak@iki.fi

Which problem is this PR solving?

Resolves #1604, seeing multiple traces in the UI

Short description of the changes

Changes to the badger storage backend reader part (no changes to write path):

Filtering duplicates from the index key results when those occur in the same index seek. Previously only cross-index-seeks had their duplicates removed. Also added a test to ensure this does not break anymore.

@codecov
Copy link

codecov bot commented Jul 2, 2019

Codecov Report

Merging #1649 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1649      +/-   ##
==========================================
+ Coverage    98.7%   98.71%   +<.01%     
==========================================
  Files         193      193              
  Lines        9224     9228       +4     
==========================================
+ Hits         9105     9109       +4     
  Misses         91       91              
  Partials       28       28
Impacted Files Coverage Δ
plugin/storage/badger/spanstore/reader.go 96.63% <100%> (+0.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c36a281...9665023. Read the comment docs.

@yurishkuro yurishkuro changed the title Filter duplicate results from a single indexSeek, fixes #1604 [badger] Filter duplicate results from a single indexSeek [fixes #1604] Jul 4, 2019
@yurishkuro yurishkuro added the storage/badger Issues related to badger storage label Jul 4, 2019
@yurishkuro yurishkuro merged commit 62cf818 into jaegertracing:master Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
storage/badger Issues related to badger storage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jaeger UI display duplicated traces when using badger as storage
2 participants