prometheus/testutil
Tom Wilkie bc3b0bd429
Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528)
Test to corrupt segments mid-WAL, repair and check we can read the correct number of records.

Make segmentBufReader pad short segments with zeros, and only advance curr segment index after fully reading segment.
2019-02-18 19:05:07 +00:00
..
directory.go fileutil: remove dependency on prometheus/prometheus 2018-10-15 17:21:20 +02:00
logging.go Test to corrupt segments mid-WAL, repair and check we can read the correct number of records. (#528) 2019-02-18 19:05:07 +00:00
testutil.go Dont store stones in head, delete samples directly 2019-01-08 22:38:41 +05:30