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

[dbnode/index] postingsList caching for FieldQuery #1530

Merged
merged 2 commits into from
Apr 4, 2019

Conversation

prateek
Copy link
Collaborator

@prateek prateek commented Apr 3, 2019

No description provided.

Copy link
Collaborator

@robskillington robskillington left a comment

Choose a reason for hiding this comment

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

LGTM

@robskillington
Copy link
Collaborator

robskillington commented Apr 4, 2019

Weird about the code cov dropping so much? Probably a bug with the reporting I suppose?

Copy link
Collaborator

@arnikola arnikola left a comment

Choose a reason for hiding this comment

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

Nice!

@m3db m3db deleted a comment from codecov bot Apr 4, 2019
Copy link
Contributor

@richardartoul richardartoul left a comment

Choose a reason for hiding this comment

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

LGTM

case PatternTypeField:
q.metrics.field.puts.Inc(1)
default:
q.metrics.unknown.puts.Inc(1)
Copy link
Contributor

Choose a reason for hiding this comment

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

super nit: Can you add a "should never happen" under the default case so it doesnt seem like thats something that might happen regularly

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

sure thing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

return s.reader.MatchField(field)
}

// TODO(rartoul): Would be nice to not allocate strings here.
Copy link
Contributor

Choose a reason for hiding this comment

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

yeah making me look even lazier :P

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

;)

@m3db m3db deleted a comment from codecov bot Apr 4, 2019
@prateek prateek force-pushed the prateek/dbnode/field-query-plcache branch from fe30a69 to f96935f Compare April 4, 2019 19:08
@codecov
Copy link

codecov bot commented Apr 4, 2019

Codecov Report

Merging #1530 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1530   +/-   ##
======================================
  Coverage    70.2%   70.2%           
======================================
  Files         851     851           
  Lines       73030   73030           
======================================
  Hits        51271   51271           
  Misses      18325   18325           
  Partials     3434    3434
Flag Coverage Δ
#aggregator 82.3% <0%> (ø) ⬆️
#cluster 85.7% <0%> (ø) ⬆️
#collector 63.7% <0%> (ø) ⬆️
#dbnode 78.4% <0%> (ø) ⬆️
#m3em 73.2% <0%> (ø) ⬆️
#m3ninx 73.8% <0%> (ø) ⬆️
#m3nsch 51.1% <0%> (ø) ⬆️
#metrics 17.5% <0%> (ø) ⬆️
#msg 75% <0%> (ø) ⬆️
#query 66.5% <0%> (ø) ⬆️
#x 76.2% <0%> (ø) ⬆️

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 33732e2...f96935f. Read the comment docs.

@m3db m3db deleted a comment from codecov bot Apr 4, 2019
@prateek prateek merged commit e16c41d into master Apr 4, 2019
@prateek prateek deleted the prateek/dbnode/field-query-plcache branch April 4, 2019 19:59
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.

4 participants