mirror of
https://github.com/prometheus/prometheus
synced 2024-12-29 18:22:16 +00:00
8df4bca470
The WAL Watcher replays a checkpoint after it is created in order to garbage collect series that no longer exist in the WAL. Currently the garbage collection process is done serially with reading from the tip of the WAL which can cause large delays in writing samples to remote storage just after compaction occurs. This also fixes a memory leak where dropped series are not cleaned up as part of the SeriesReset process. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com> |
||
---|---|---|
.. | ||
checkpoint_test.go | ||
checkpoint.go | ||
live_reader.go | ||
reader_test.go | ||
reader.go | ||
wal_test.go | ||
wal.go | ||
watcher_test.go | ||
watcher.go |