Skip to content

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Aug 14, 2019

So that all ingesters will make the same decision, hence chunks flushed to the DB are more likely to overlap. This is a replacement for #1414, keeping the option name but implementing it differently.

Also add a test and fix an incorrect comment on memorySeries.add().

Trying this out in staging environment, I see that the 'reason' stats are less helpful because the chunks that hit their timeslot are reported as "multiple chunks in series". We could add more metadata to report the different cases accurately.

EDIT: I blogged about the efficiency gain: https://www.weave.works/blog/how-i-halved-the-storage-of-cortex

Signed-off-by: Bryan Boreham <[email protected]>
So that all ingesters will make the same decision, hence chunks
flushed to the DB are more likely to overlap.

Also add a test.

Signed-off-by: Bryan Boreham <[email protected]>
Copy link
Contributor

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

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

👍

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