Skip to content

Commit

Permalink
store: Moved to our own custom posting helpers.
Browse files Browse the repository at this point in the history
This is necessary to support newest TSDB.

Newest optimization (http://github.com/prometheus/tsdb/pull/486) makes tsdb.PostingForMatcher impossible to use.

This also hopefully reduce amount of code to understand as we don't need to necessarily fit into
index.Postings even though we don't need streaming for now. This should make the code less complex and more readable
(in comparision to previous `lazyPostings` implementation.

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
  • Loading branch information
bwplotka committed Jan 24, 2019
1 parent 705d6a2 commit 4d4eeac
Show file tree
Hide file tree
Showing 3 changed files with 350 additions and 271 deletions.
Loading

0 comments on commit 4d4eeac

Please sign in to comment.