prometheus/tsdb/wal
Chris Marchbanks bedcd88343
Compress records before checking segment size (#8501)
Right now a new segment might be created unnecessarily if the
uncompressed record would not fit, but after compression (typically
reducing record size in half) it would.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2021-02-17 18:45:49 +05:30
..
checkpoint_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
checkpoint.go
live_reader.go
reader_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
reader.go
wal_test.go Cleanup tempfiles in tests (#8179) 2021-01-15 13:49:57 +05:30
wal.go Compress records before checking segment size (#8501) 2021-02-17 18:45:49 +05:30
watcher_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
watcher.go