prometheus/storage/local
beorn7 fc7de5374a Quarantine series upon problem writing to the series file
This fixes https://github.com/prometheus/prometheus/issues/1059 , but
not in the obvious way (simply not updating the persist watermark,
because that's actually not that simple - we don't really know what
has gone wrong exactly). As any errors relevant here are most likely
caused by severe and unrecoverable problems with the series file,
Using the now quarantine feature is the right step. We don't really
have to be worried about any inconsistent state of the series because
it will be removed for good ASAP. Another plus is that we don't have
to declare the whole storage dirty anymore.
2016-03-03 13:15:02 +01:00
..
codable Replace metric.LabelPair with model.LabelPair 2015-08-22 13:32:13 +02:00
fixtures/b0 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
index Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
chunk.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
crashrecovery.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
delta.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
doubledelta.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
instrumentation.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
interface.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
locker.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
locker_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
mapper.go Switch to common/log 2015-10-03 10:21:43 +02:00
mapper_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
persistence.go Quarantine series upon problem writing to the series file 2016-03-03 13:15:02 +01:00
persistence_test.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
preload.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
series.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
storage.go Quarantine series upon problem writing to the series file 2016-03-03 13:15:02 +01:00
storage_test.go Handle errors caused by data corruption more gracefully 2016-03-02 23:02:34 +01:00
test_helpers.go Fix some dead code, missing error checks, shadowings. 2015-09-14 12:21:34 +02:00