prometheus/wal
Krasi Georgiev 96a87845cc
fix wal panic when page flush fails. (#582)
* fix wal panic when page flush fails.

New records should be added to the page only when the last flush
succeeded. Otherwise the page would be full and panics when trying to
add a new record.

Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
2019-05-16 16:40:43 +03: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 fix wal panic when page flush fails. (#582) 2019-05-16 16:40:43 +03:00
wal_test.go make Close methods for the querier safe to call more than once. (#581) 2019-04-30 10:17:07 +03:00