prometheus/tsdb/wal
Chris Marchbanks 8df4bca470
Garbage collect asynchronously in the WAL Watcher
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>
2019-10-07 14:36:10 -06:00
..
checkpoint.go Move WAL watcher code to tsdb/wal package. (#5999) 2019-09-19 14:45:41 +05:30
checkpoint_test.go Move WAL watcher code to tsdb/wal package. (#5999) 2019-09-19 14:45:41 +05:30
live_reader.go fix wrong spells in live_reader.go (#5899) 2019-09-21 16:36:33 +03:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go Move WAL watcher code to tsdb/wal package. (#5999) 2019-09-19 14:45:41 +05:30
wal.go tsdb/wal: pull out wal metrics separately as tsdb.DB (#5957) 2019-09-19 14:24:34 +03:00
wal_test.go fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00
watcher.go Garbage collect asynchronously in the WAL Watcher 2019-10-07 14:36:10 -06:00
watcher_test.go Move WAL watcher code to tsdb/wal package. (#5999) 2019-09-19 14:45:41 +05:30