prometheus/tsdb/chunks
Krasimir Georgiev 549164f252
return err instead of panic for corrupted chunk (#6040)
* Fix tsdb panic when querying corrupted chunks.
check that the chunk segment has enough data to read all chunk pieces.
* refactor, simplify and add tests.
* simpfiy WriteChunks implementation

Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
2019-12-04 09:37:49 +02:00
..
chunks.go return err instead of panic for corrupted chunk (#6040) 2019-12-04 09:37:49 +02:00
chunks_test.go Removed extra tsdb/testutil after merge. 2019-08-14 10:12:32 +01:00