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

receive,ruler: Upgraded TSDB and used ChunkIterator in Series TSDB Store. #2876

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

bwplotka
Copy link
Member

Finally some first tests of chunk iterator ❤️

Benchmarks to come.

Depends on: prometheus/prometheus#7069

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

@bwplotka
Copy link
Member Author

Given stable and well looking prometheus/prometheus#7069 I think this is ready to go and even merged. Building now docker image for staging.

@bwplotka bwplotka changed the title Upgraded TSDB and used ChunkIterator in Series TSDB Store. receive,ruler: Upgraded TSDB and used ChunkIterator in Series TSDB Store. Jul 27, 2020
cmd/thanos/query.go Outdated Show resolved Hide resolved
@bwplotka
Copy link
Member Author

v0.15.0-pre-rc-chunk-iter.0 was build from this.

@bwplotka
Copy link
Member Author

There is still one bug here: compact-working: level=error name=compact-working ts=2020-07-28T08:57:18.033854652Z caller=compact.go:364 msg="critical error detected; halting" err="compaction: group 0@6431778317510635118: invalid result block /shared/data/compact/working/compact/0@6431778317510635118/01EEAA7VD674ABSV1GND6VQ7A3: 1/4 series have an average of 1.000 out-of-order chunks: 0.000 of these are exact duplicates (in terms of data and time range)" store-gw-1: level=info name=store-gw-1 ts=2020-07-28T08:57:20.789789976Z caller=fetcher.go:453 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=39.407118ms cached=27 returned=21 partial=7

@bwplotka
Copy link
Member Author

All should be green now! 💪

Please PTAL @GiedriusS @kakkoyun @brancz when you have time.

@bwplotka
Copy link
Member Author

v0.15.0-pre-rc-chunk-iter.1 was build for it.

@bwplotka bwplotka force-pushed the chunk-iter-receive branch 2 times, most recently from 48e7ada to 73f8907 Compare August 3, 2020 10:44
pkg/rules/manager.go Outdated Show resolved Hide resolved
@bwplotka bwplotka force-pushed the chunk-iter-receive branch 2 times, most recently from 78c1313 to 8249066 Compare August 7, 2020 20:51
@bwplotka
Copy link
Member Author

bwplotka commented Aug 7, 2020

Ready to go! (:

cc @yeya24 could you help with review? (:

cmd/thanos/query.go Outdated Show resolved Hide resolved
cmd/thanos/query.go Outdated Show resolved Hide resolved
@bwplotka
Copy link
Member Author

Thanks for review @yeya24 addressed!

pkg/rules/manager_test.go Outdated Show resolved Hide resolved
…ore.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Great work 🥇

@bwplotka bwplotka merged commit 626f248 into master Aug 10, 2020
@bwplotka bwplotka deleted the chunk-iter-receive branch August 10, 2020 17: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.

3 participants