prometheus/storage/local
Bjoern Rabenstein 2c8fdcbc23 Remove a deadlock during shutdown.
If queries are still running when the shutdown is initiated, they will
finish _during_ the shutdown. In that case, they might request chunk
eviction upon unpinning their pinned chunks. That might completely
fill the evict request queue _after_ draining it during storage
shutdown. If that ever happens (which is the case if there are _many_
queries still running during shutdown), the affected queries will be
stuck while keeping a fingerprint locked. The checkpointing can then
not process that fingerprint (or one that shares the same lock). And
then we are deadlocked.
2015-01-22 14:42:15 +01:00
..
codable Clean up license issues. 2015-01-21 20:07:45 +01:00
flock Use named returns in flock.New. 2015-01-19 14:31:16 +01:00
index Clean up license issues. 2015-01-21 20:07:45 +01:00
chunk.go Clean up license issues. 2015-01-21 20:07:45 +01:00
delta.go Clean up license issues. 2015-01-21 20:07:45 +01:00
instrumentation.go Clean up license issues. 2015-01-21 20:07:45 +01:00
interface.go Clean up license issues. 2015-01-21 20:07:45 +01: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
persistence.go Clean up license issues. 2015-01-21 20:07:45 +01:00
persistence_test.go Clean up license issues. 2015-01-21 20:07:45 +01:00
preload.go Clean up license issues. 2015-01-21 20:07:45 +01:00
series.go Clean up license issues. 2015-01-21 20:07:45 +01:00
storage.go Remove a deadlock during shutdown. 2015-01-22 14:42:15 +01:00
storage_test.go Clean up license issues. 2015-01-21 20:07:45 +01:00
test_helpers.go Clean up license issues. 2015-01-21 20:07:45 +01:00