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

Upon append of a new series, should watermarks be written immediately? #309

Closed
juliusv opened this Issue Jun 20, 2013 · 5 comments

Comments

Projects
None yet
2 participants
@juliusv
Copy link
Member

juliusv commented Jun 20, 2013

See my new comment on already merged earlier PR: https://github.com/prometheus/prometheus/pull/291/files#r4810106

@ghost ghost assigned matttproud Jun 20, 2013

@juliusv

This comment has been minimized.

Copy link
Member Author

juliusv commented Jun 20, 2013

Right now we have to wait for the curator to run until we can query a completely new series :-/

@matttproud

This comment has been minimized.

Copy link
Member

matttproud commented Jun 21, 2013

I would suggest checking whether in-memory series for the given fingerprint is empty before deeming the fingerprint "too old". This would be best, as the watermarks ideally should reflect disk state.

@juliusv

This comment has been minimized.

Copy link
Member Author

juliusv commented Jun 21, 2013

To narrow the error possibility down more: we can query series which a) have been curated before (have a disk watermark), or b) have received a memory sample already during the current Prometheus run. The edge case are timeseries which have not been curated and which haven't been seen yet since the last restart. This can happen if you briefly run a new Prometheus, then restart it. Suddenly you are not able to query the samples from the first run anymore (until you receive more of the same timeseries).

@juliusv

This comment has been minimized.

Copy link
Member Author

juliusv commented Jun 28, 2013

Done in a1a23fb

We also found out that the curator actually never writes watermarks for series that don't have watermarks already. So did we never actually have watermarks before?

@juliusv juliusv closed this Jun 28, 2013

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this issue Oct 12, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 25, 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 25, 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.