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

Support reading multiple trace IDs from archive reader #956

Merged
merged 2 commits into from
Jul 25, 2018

Conversation

black-adder
Copy link
Contributor

…Ds are passed as parameters

Signed-off-by: Won Jun Jang wjang@uber.com

Which problem is this PR solving?

  • When multiple traceIDs are passed to the query service, it only reads the traces from the reader, not the archiveReader.

}
if aH.handleError(w, err, http.StatusInternalServerError) {
return
}
process(trace)
}

func trace(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

every combination of getTrace, getTraceFromReaders, etc. was taken. Uh getTraceFromReadersInternal?

@codecov
Copy link

codecov bot commented Jul 24, 2018

Codecov Report

Merging #956 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #956   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files         136    136           
  Lines        6320   6322    +2     
=====================================
+ Hits         6320   6322    +2
Impacted Files Coverage Δ
cmd/query/app/handler.go 100% <100%> (ø) ⬆️

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 ba7d9b8...0686045. Read the comment docs.

@yurishkuro yurishkuro changed the title Update query handler to read from archive reader when multiple traceI… Support reading multiple trace IDs from archive reader Jul 24, 2018
Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

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

I suggest adding a test.

…Ds are passed as parameters

Signed-off-by: Won Jun Jang <wjang@uber.com>
Signed-off-by: Won Jun Jang <wjang@uber.com>
@black-adder black-adder merged commit 4827ac4 into master Jul 25, 2018
@ghost ghost removed the review label Jul 25, 2018
@black-adder black-adder deleted the archiveIsImportantToo branch July 25, 2018 16:27
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.

2 participants