-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: batch tsdb infos #7308
Store: batch tsdb infos #7308
Conversation
89eb1a7
to
745c3fc
Compare
Batch TSDB Infos for bucket store for blocks with overlapping ranges. Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
745c3fc
to
fa8f2a6
Compare
cur = info | ||
continue | ||
} | ||
cur.MaxTime = info.MaxTime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Won't this modify existing objects in place?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, but that should not be a problem because they are not shared and are accounted for, we just send the modified infos
Batch TSDB Infos for bucket store for blocks with overlapping ranges. Signed-off-by: Michael Hoffmann <mhoffm@posteo.de> Signed-off-by: mluffman <nashluffman@gmail.com>
Batch TSDB Infos for bucket store for blocks with overlapping ranges. Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
Batch TSDB Infos for bucket store for blocks with overlapping ranges. Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
Changes
Instead of returning a TSDB Info for every block we batch them if their ranges are continous.
Verification
Added a unittest.
Should address #7213