prometheus/storage/remote
Callum Styan 23c382e240 Remote Storage: string interner should not panic in release (#5487)
* Don't panic if we try to release a string that is not in the interner.

* Move seriesMtx locking in QueueManager's StoreSeries function.

This stops us from calling release for strings that aren't interned if
there's a race between reading a checkpoint and storing new series
labels, which could happen during checkpointing or reloading config.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-04-24 13:50:16 +01:00
..
client.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-24 13:50:16 +01:00
client_test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
codec.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
codec_test.go *: apply gofmt -s 2019-01-16 17:28:14 -05:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
intern.go Remote Storage: string interner should not panic in release (#5487) 2019-04-24 13:50:16 +01:00
intern_test.go Review feedback. 2019-03-18 20:31:12 +00:00
max_gauge.go Refactor and fix queue resharding (#5286) 2019-03-01 11:04:26 -08:00
queue_manager.go Remote Storage: string interner should not panic in release (#5487) 2019-04-24 13:50:16 +01:00
queue_manager_test.go Remote Storage: string interner should not panic in release (#5487) 2019-04-24 13:50:16 +01:00
read.go Review feedback. 2019-03-18 20:31:12 +00:00
read_test.go Review feedback. 2019-03-18 20:31:12 +00:00
storage.go More WAL remote_write tweaks. (#5300) 2019-03-05 12:21:11 +00:00
wal_watcher.go Remote Write: fix checkpoint reading (#5429) 2019-04-09 10:52:44 +01:00
wal_watcher_test.go Remote Write: fix checkpoint reading (#5429) 2019-04-09 10:52:44 +01:00
write.go Refactor and fix queue resharding (#5286) 2019-03-01 11:04:26 -08:00