mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 08:04:04 -08:00
f338d791d2
- checkpointSeriesMapAndHeads accepts a context now to allow cancelling. - If a shutdown is initiated, cancel the ongoing checkpoint. (We will create a final checkpoint anyway.) - Always wait for at least as long as the last checkpoint took before starting the next checkpoint (to cap the time spending checkpointing at 50%). - If an error has occurred during checkpointing, don't bother to sync the write. - Make sure the temporary checkpoint file is deleted, even if an error has occurred. - Clean up the checkpoint loop a bit. (The concurrent Timer.Reset(0) call might have cause a race.) |
||
---|---|---|
.. | ||
chunk | ||
codable | ||
fixtures/b0 | ||
index | ||
storagetool | ||
crashrecovery.go | ||
heads.go | ||
instrumentation.go | ||
interface.go | ||
locker.go | ||
locker_test.go | ||
mapper.go | ||
mapper_test.go | ||
noop_storage.go | ||
persistence.go | ||
persistence_test.go | ||
series.go | ||
series_test.go | ||
storage.go | ||
storage_test.go | ||
test_helpers.go |