prometheus/storage/local
beorn7 699946bf32 Fix chunk desc loading.
If all samples in consecutive chunks have the same timestamp, the way
we used to load chunks will fail. With this change, the persist
watermark is used to load the right amount of chunkDescs from disk.

This bug is a possible reason for the rare storage corruption we have
observed.
2015-07-16 13:09:20 +02:00
..
codable Handle fingerprint collisions. 2015-05-07 18:17:59 +02:00
fixtures/b0 Add benchmark for loading chunks and chunk descs. 2015-03-19 19:28:21 +01:00
index Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
chunk.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
crashrecovery.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
delta.go storage: ensure timestamp monotonicity within series. 2015-07-15 18:56:53 +02:00
delta_helpers.go Make floats exact again. 2015-03-06 17:03:56 +01:00
doubledelta.go storage: ensure timestamp monotonicity within series. 2015-07-15 18:56:53 +02:00
instrumentation.go Test chunkDesc eviction and loading 2015-07-16 13:09:13 +02:00
interface.go Minor doc fixes. 2015-06-23 17:07:18 +02:00
locker.go Fix and improve the fp locker. 2014-11-25 17:07:45 +01:00
locker_test.go Fix a few concurrency issues before starting to use the new fp locker. 2014-11-25 17:07:45 +01:00
mapper.go Use an RW lock to checkpoint fingerprint mappings. 2015-05-23 14:05:05 +02:00
mapper_test.go Avoid archive lookup for known mapped FPs. 2015-05-08 16:39:26 +02:00
persistence.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
persistence_test.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
preload.go Weed out all the [Gg]et* method names. 2015-05-20 19:13:06 +02:00
series.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
storage.go Fix chunk desc loading. 2015-07-16 13:09:20 +02:00
storage_test.go Test chunkDesc eviction and loading 2015-07-16 13:09:13 +02:00
test_helpers.go storage: remove global flags 2015-06-15 19:01:06 +02:00