prometheus/wal
Callum Styan 562e93e8e6 Always create a new clean segment when starting the WAL. (#608)
* Always create a new clean segment when starting the WAL.
* Ensure we flush the last page after repairing and before recreating the
new segment in Repair.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-05-24 19:33:27 +01:00
..
live_reader.go LiveReader can get into an infinite loop on corrupt WALs. (#524) 2019-02-19 14:33:57 +00:00
reader.go LiveReader can get into an infinite loop on corrupt WALs. (#524) 2019-02-19 14:33:57 +00:00
reader_test.go Test createBlock and check all os.RemoveAll in the tests for errors. (#549) 2019-03-19 15:31:57 +02:00
wal.go Always create a new clean segment when starting the WAL. (#608) 2019-05-24 19:33:27 +01:00
wal_test.go Always create a new clean segment when starting the WAL. (#608) 2019-05-24 19:33:27 +01:00