Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

index: Fast path for EmptyPostings cases in Merge, Intersect and Without #509

Merged

Conversation

bwplotka
Copy link
Contributor

@bwplotka bwplotka commented Jan 28, 2019

Updates old #233 onto fresh TSDB code.

closes #233

@bwplotka
Copy link
Contributor Author

bwplotka commented Feb 4, 2019

ping @gouthamve

@krasi-georgiev
Copy link
Contributor

@bwplotka I did a PR against your branch with few adjustments.
bwplotka#2

@krasi-georgiev
Copy link
Contributor

LGTM, Thanks!

@krasi-georgiev
Copy link
Contributor

@codesome want to have a quick look before I merge it?

Copy link
Contributor

@codesome codesome left a comment

Choose a reason for hiding this comment

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

LGTM. Just some nits.

index/postings.go Outdated Show resolved Hide resolved
index/postings.go Show resolved Hide resolved
@krasi-georgiev
Copy link
Contributor

ping @bwplotka

@bwplotka
Copy link
Contributor Author

Updated @krasi-georgiev and @codesome

Thanks for ping & reviews. Ping me directly on IRC or slack if you want my review/PR update I am flooded with GH notifications ):

I changed a lot now, because of conflicts - I rewrote test cases to make more sense, let me know if that is OK with you guys.

@bwplotka bwplotka force-pushed the emptypostings-v2 branch 2 times, most recently from 320e690 to d9478d4 Compare March 21, 2019 13:40
index/postings.go Show resolved Hide resolved
index/postings_test.go Show resolved Hide resolved
index/postings_test.go Show resolved Hide resolved
index/postings_test.go Show resolved Hide resolved
Improved Merge when all is empty.

Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
@krasi-georgiev krasi-georgiev merged commit 3ab5f4e into prometheus-junkyard:master Mar 21, 2019
@krasi-georgiev
Copy link
Contributor

Thanks Bartek!

@bwplotka
Copy link
Contributor Author

Thanks Krasi (:

@brian-brazil brian-brazil mentioned this pull request Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants