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

store: Added missing matcher logic for negative matchers. #839

Merged
merged 1 commit into from
Feb 15, 2019

Conversation

bwplotka
Copy link
Member

Needed to refactor logic to add "posting groups".

Some debug in progress, but overall showing the direction (:

Fixes: #834

Signed-off-by: Bartek Plotka bwplotka@gmail.com

@@ -134,10 +134,44 @@ func testBucketStore_e2e(t testing.TB, ctx context.Context, s *storeSuite) {
req *storepb.SeriesRequest
expected [][]storepb.Label
}{
//{
Copy link
Member Author

Choose a reason for hiding this comment

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

debug in progress - something does not work properly with allWithout function.

@bwplotka bwplotka changed the base branch from 829_store_crashing to master February 14, 2019 13:31
@bwplotka bwplotka changed the title WIP: Added missing matcher logic for negative matchers. Added missing matcher logic for negative matchers. Feb 14, 2019
Copy link
Contributor

@domgreen domgreen left a comment

Choose a reason for hiding this comment

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

Looks sane ... tests run and pass 👍

@@ -1178,32 +1178,33 @@ func (r *bucketIndexReader) lookupSymbol(o uint32) (string, error) {
// chunk where the series contains the matching label-value pair for a given block of data. Postings can be fetched by
// single label name=value.
func (r *bucketIndexReader) ExpandedPostings(ms []labels.Matcher) ([]uint64, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit - Fix comment above Postings > ExtendedPostings

Needed to refactor logic to add "posting groups".

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
@bwplotka bwplotka changed the title Added missing matcher logic for negative matchers. store: Added missing matcher logic for negative matchers. Feb 15, 2019
@bwplotka bwplotka merged commit cb38508 into master Feb 15, 2019
@bwplotka bwplotka deleted the matchers-fix branch February 15, 2019 20:33
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