mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
7c7dafc321
Snappy cannot encode records larger than ~3.7 GB and will panic if an encoding is attempted. Check to make sure that the record is smaller than this before encoding. In the future, we could improve this behavior to still compress large records (or break them up into smaller records), but this avoids the panic for users with very large single scrape targets. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com> |
||
---|---|---|
.. | ||
checkpoint.go | ||
checkpoint_test.go | ||
live_reader.go | ||
reader.go | ||
reader_test.go | ||
wal.go | ||
wal_test.go | ||
watcher.go | ||
watcher_test.go |