mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 06:29:42 -08:00
a55602df4a
It is the case with the benchmark tool that we thought that we generated multiple series and saved them to the disk as such, when in reality, we overwrote the fields of the outgoing metrics via Go map reference behavior. This was accidental. In the course of diagnosing this, a few errors were found: 1. ``newSeriesFrontier`` should check to see if the candidate fingerprint is within the given domain of the ``diskFrontier``. If not, as the contract in the docstring stipulates, a ``nil`` ``seriesFrontier`` should be emitted. 2. In the interests of aiding debugging, the raw LevelDB ``levigoIterator`` type now includes a helpful forensics ``String()`` method. This work produced additional cleanups: 1. ``Close() error`` with the storage stack is technically incorrect, since nowhere in the bowels of it does an error actually occur. The interface has been simplified to remove this for now. |
||
---|---|---|
.. | ||
.gitignore | ||
curator.go | ||
curator_test.go | ||
end_to_end_test.go | ||
frontier.go | ||
instrumentation.go | ||
interface.go | ||
interface_test.go | ||
leveldb.go | ||
memory.go | ||
operation.go | ||
operation_test.go | ||
regressions_test.go | ||
rule_integration_test.go | ||
scanjob.go | ||
stochastic_test.go | ||
test_helper.go | ||
tiered.go | ||
tiered_test.go | ||
view.go | ||
view_test.go |