Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upInvalid iterator crash bug in newSeriesFrontier() #114
Comments
ghost
assigned
matttproud
Mar 31, 2013
This comment has been minimized.
This comment has been minimized.
|
@juliusv, I discovered several bugs in both the view materialization and in the benchmark itself. I'll file pull requests for the respective pieces shortly. |
This comment has been minimized.
This comment has been minimized.
|
First, we will need to re-run the benchmarks of the old and new system with this commit cherrypicked: 6e0c65c. |
This comment has been minimized.
This comment has been minimized.
|
#115 should address the second part after the tests under ./rules/... are fixed. |
juliusv
closed this
Apr 15, 2013
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
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
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.
juliusv commentedMar 31, 2013
With my expressions benchmark (living in branch "julius-metrics-persistence-benchmarks"), I managed to provoke the following crash in
newSeriesFrontier():The culprit is this line, where we rewind the iterator although it is possible that it is already pointing at the first element on disk:
prometheus/storage/metric/frontier.go
Line 133 in b2e4c88
Please add logic to prevent this as well as a regression test.