prometheus/storage
Julius Volz d6827b6898 Fix memory series indexing bug.
This fixes https://github.com/prometheus/prometheus/issues/381.

For any stale series we dropped from memory, this bug caused us to also drop
any other series from the labelpair->fingerprints memory index if they had any
label/value-pairs in common with the intentionally dropped series.

To fix this issue more easily, I converted the labelpair->fingerprints index
map values to a utility.Set of clientmodel.Fingerprints. This makes handling
this index much easier in general.

Change-Id: If5e81e202e8c542261bbd9797aa1257376c5c074
2014-03-06 01:23:22 +01:00
..
metric Fix memory series indexing bug. 2014-03-06 01:23:22 +01:00
raw Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
remote Major code cleanup in storage. 2014-02-27 15:22:37 +01:00
interface.go Major code cleanup in storage. 2014-02-27 15:22:37 +01:00