mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 09:02:53 +00:00
bc3b0bd429
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. |
||
---|---|---|
.. | ||
directory.go | ||
logging.go | ||
testutil.go |