prometheus/tsdb/agent
Bryan Boreham 0ab9553611
tsdb: drop deleted series from the WAL sooner (#12297)
`head.deleted` holds the WAL segment in use at the time each series was
removed from the head. At the end of `truncateWAL()` we will delete
all segments up to `last`, so we can drop any series that were last seen
in a segment at or before that point.

(same change in Prometheus Agent too)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-05-01 16:43:15 +01:00
..
db.go tsdb: drop deleted series from the WAL sooner (#12297) 2023-05-01 16:43:15 +01:00
db_test.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
series.go tsdb/agent: Ignore duplicate exemplars (#10595) 2022-04-18 11:41:04 -04:00
series_test.go tsdb/agent: Fix deadlock from simultaneous GC and write (#10166) 2022-01-19 20:23:06 +05:30