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.go MultiError: Refactored MultiError for more concise and safe usage. (#8066) 2020-10-28 15:24:58 +00:00
checkpoint_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
live_reader.go Capitalizing first letter of all log lines (#7043) 2020-04-11 09:22:18 +01:00
reader.go Moving tsdb into its own subdirectory 2019-08-13 13:58:49 +05:30
reader_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
wal.go Compress records before checking segment size (#8501) 2021-02-17 18:45:49 +05:30
wal_test.go Cleanup tempfiles in tests (#8179) 2021-01-15 13:49:57 +05:30
watcher.go Move away from testutil, refactor imports (#8087) 2020-10-22 11:00:08 +02:00
watcher_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00