prometheus/storage/local/chunk
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.go storage: Guard against appending to evicted chunk 2017-04-06 20:02:52 +02:00
chunk_test.go storage: Make tests go-vet and golint clean 2016-12-13 17:07:27 +01:00
delta.go storage: Verify validity of byte length when unmarshalling (double)delta chunks 2016-12-13 17:07:27 +01:00
delta_helpers.go
delta_test.go storage: Verify validity of byte length when unmarshalling (double)delta chunks 2016-12-13 17:07:27 +01:00
doubledelta.go storage: Verify validity of byte length when unmarshalling (double)delta chunks 2016-12-13 17:07:27 +01:00
instrumentation.go storage: Evict chunks and calculate persistence pressure based on target heap size 2017-03-27 14:33:50 +02:00
varbit.go Add call to estimate number of samples in a chunk to the API 2016-11-17 19:09:59 +00:00
varbit_helpers.go
varbit_test.go