prometheus/storage/local
beorn7 7199a9d9d4 storage: Guard against appending to evicted chunk
Fixes #2480. For certain definition of "fixes".

This is something that should never happen. Sadly, it does happen,
albeit extremely rarely. This could be some weird cornercase we
haven't covered yet. Or it happens as a consequesnce of data
corruption or a crash recovery gone bad.

This is not a "real" fix as we don't know the root cause of the
incident reported in #2480. However, this makes sure the server does
not crash, but deals gracefully with the problem: The series in
question is quarantined, which even makes it available for forensics.
2017-04-06 20:02:52 +02:00
..
chunk storage: Guard against appending to evicted chunk 2017-04-06 20:02:52 +02:00
codable storage: Check for negative values from varint decoding 2017-04-04 19:14:52 +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
storagetool Make version informations consistent between prometheus components 2016-05-05 22:33:18 +02:00
crashrecovery.go storage: Evict unused chunk.Descs in crash recovery 2017-04-04 00:04:22 +02:00
heads.go storage: Check for negative values from varint decoding 2017-04-04 19:14:52 +02:00
instrumentation.go storage: separate chunk package, publish more names 2016-09-26 13:25:11 +02:00
interface.go storage: enhance Querier interface usage 2016-10-16 10:39:29 +02:00
locker.go Avoid having contended mutexes on same cacheline 2016-09-18 23:32:55 +01:00
locker_test.go Add missing license headers 2016-04-13 16:08:22 +02:00
mapper.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
mapper_test.go Checkpoint fingerprint mappings only upon shutdown 2016-04-15 01:03:28 +02:00
noop_storage.go storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +01:00
persistence.go storage: Mark storage as dirty if indexing fails 2017-04-06 15:29:33 +02:00
persistence_test.go storage: Evict chunks and calculate persistence pressure based on target heap size 2017-03-27 14:33:50 +02:00
series.go storage: Replace fpIter by sortedFPs 2017-04-03 15:34:46 +02:00
series_test.go Unpublish accidentally published series methods 2016-10-03 00:04:56 +02:00
storage.go storage: Increment s.persistErrors on all persist errors 2017-04-06 15:55:15 +02:00
storage_test.go storage: Evict chunks and calculate persistence pressure based on target heap size 2017-03-27 14:33:50 +02:00
test_helpers.go storage: Evict chunks and calculate persistence pressure based on target heap size 2017-03-27 14:33:50 +02:00