Go to file
Fabian Reinartz ad5812d83a Handle WAL corruption by truncating
This adds handling for various corruption scenarios of the WAL.
If corruption is encountered, we truncate the WAL after the last valid
entry transparently and continue appending after the offset.
2017-03-15 11:16:16 +01:00
chunks Run persistence in separate goroutine 2017-01-02 22:24:35 +01:00
cmd/tsdb Remove Partitioned* code 2017-03-06 17:34:49 +01:00
labels Misc cleanups 2017-03-06 14:34:49 +01:00
test Add merge postings 2016-12-28 11:02:19 +01:00
testdata Add full encode/decode WAL cycle test 2017-02-14 21:55:50 -08:00
block.go Write meta.json file atomically 2017-03-01 17:19:57 +01:00
chunks.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
chunks_test.go Split persistence by chunk/index instead of read/write 2017-03-07 12:48:52 +01:00
compact.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
db.go Fix loading of persisted blocks 2017-03-09 15:40:13 +01:00
db_test.go Misc cleanups 2017-03-06 14:34:49 +01:00
db_unix.go Add proper mmap calls 2016-12-11 15:49:36 +01:00
head.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00
head_test.go Test updates 2017-03-08 16:54:13 +01:00
index.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
index_test.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
postings.go Fix bug of unsorted postings lists being created 2017-01-13 16:22:20 +01:00
postings_test.go Add merge postings 2016-12-28 11:02:19 +01:00
querier.go Use ChunkMeta references for clarity 2017-03-14 15:40:16 +01:00
querier_test.go Rename paritionSeriesSet to mergedSeriesSet 2017-03-14 15:24:08 +01:00
wal.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00
wal_test.go Handle WAL corruption by truncating 2017-03-15 11:16:16 +01:00