prometheus/storage/local
beorn7 2a75b15328 Crash recovery: Fix an edge case.
If the chunks of a series in the checkpoint are all older then the
latest chunk on disk, the head chunk is persisted and therefore has to
be declared closed.

It would be great to have a test for this, but that would require more
plumbing, subject of #447.
2016-07-07 16:17:38 +02: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
storagetool Make version informations consistent between prometheus components 2016-05-05 22:33:18 +02:00
chunk.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
crashrecovery.go Crash recovery: Fix an edge case. 2016-07-07 16:17:38 +02:00
delta.go Implement Gorilla-inspired chunk encoding 2016-03-17 14:47:08 +01:00
delta_helpers.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
doubledelta.go Implement Gorilla-inspired chunk encoding 2016-03-17 14:47:08 +01:00
heads.go Merge branch 'master' into beorn7/storage4 2016-03-08 00:14:00 +01:00
instrumentation.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
interface.go Separate query interface out of local.Storage. 2016-06-23 15:14:38 +02:00
locker.go Update doc comments 2016-06-03 12:34:01 +02: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
persistence.go *: remove last remainers of non-second metrics 2016-06-23 17:50:39 +02:00
persistence_test.go Implement Gorilla-inspired chunk encoding 2016-03-17 14:47:08 +01:00
preload.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
series.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
series_test.go Never drop a still open head chunk. 2016-04-15 19:18:40 +02:00
storage.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
storage_test.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
test_helpers.go storage: Make MemorySeriesStorage a public type 2016-06-29 08:14:23 +02:00
varbit.go Work around compiler bug 2016-03-29 17:05:28 +02:00
varbit_helpers.go Rename Gorilla into varbit 2016-03-23 16:30:41 +01:00
varbit_test.go Rename Gorilla into varbit 2016-03-23 16:30:41 +01:00