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

prometheus_local_storage_chunks_to_persist includes #1323

Closed
beorn7 opened this Issue Jan 17, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@beorn7
Copy link
Member

beorn7 commented Jan 17, 2016

chunksToPersist in function loadSeriesMapAndHeads is incremented for every chunk read from the snapshot. even if it is a still open head chunk. That overestimates the number of chunks to persist

@beorn7 beorn7 added the bug label Jan 17, 2016

@beorn7 beorn7 self-assigned this Jan 17, 2016

@beorn7

This comment has been minimized.

Copy link
Member Author

beorn7 commented Jan 17, 2016

Once this is fixed, we probably want to change the heuristics for going into "graceful degradation mode". If the number of memory chunks exceeds the configured amount and there is a reasonable (but not necessarily large) number of chunks waiting for persistence, we should also go into "speedy" mode.

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Jan 18, 2016

How soon can we fix these related issues?
Once that's done and #1318 merged we should be mostly ready for a RC of v0.17.0.

@beorn7

This comment has been minimized.

Copy link
Member Author

beorn7 commented Jan 19, 2016

This is pretty low hanging fruit. I'll fix it ~this week.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.