Skip to content

Fix removal of persisted chunks from memory #64

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

Merged
merged 1 commit into from
Oct 24, 2016
Merged

Conversation

juliusv
Copy link
Contributor

@juliusv juliusv commented Oct 23, 2016

There's an OBOB in there. According to my understanding, it would
currently keep one already persisted chunk in memory and then persist it
again every minute, until there's another full chunk (then the old one
would finally get dropped).

Indeed, looking at how many series the ingester has in memory:

prism_ingester_memory_series

...and comparing that to how many chunks are being written out per
minute:

rate(prism_ingester_chunk_utilization_count[1h]) * 60

The number of chunks being persisted every minute is coming quite close
to the number of series in memory. We should watch for a sharp drop of
the latter rate after merging this.

There's an OBOB in there. According to my understanding, it would
currently keep one already persisted chunk in memory and then persist it
again every minute, until there's another full chunk (then the old one
would finally get dropped).

Indeed, looking at how many series the ingester has in memory:

  prism_ingester_memory_series

...and comparing that to how many chunks are being written out per
minute:

  rate(prism_ingester_chunk_utilization_count[1h]) * 60

The number of chunks being persisted every minute is coming quite close
to the number of series in memory. We should watch for a sharp drop of
the latter rate after merging this.
Copy link
Contributor

@jml jml left a comment

Choose a reason for hiding this comment

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

Can we revert this if we don't see such a drop?

@juliusv
Copy link
Contributor Author

juliusv commented Oct 24, 2016

@jml It's safe to revert, but it should be a bug fix. If there's no drop in persists, my thinking is off...

@juliusv juliusv merged commit b483fb7 into master Oct 24, 2016
@juliusv juliusv deleted the fix-chunk-purging branch October 24, 2016 10:59
tomwilkie added a commit that referenced this pull request Jan 21, 2017
b783528 Tweak test script so it can be run on a mca
a3b18bf Merge pull request #65 from weaveworks/fix-integration-tests
ecb5602 Fix integration tests
f9dcbf6 ... without tab (clearly not my day)
a6215c3 Add break I forgot
0e6832d Remove incorrectly added tab
eb26c68 Merge pull request #64 from weaveworks/remove-test-package-linting
f088e83 Review feedback
2c6e83e Remove test package linting

git-subtree-dir: tools
git-subtree-split: b783528b75f6ba52a51832bd087bd8347b26f131
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