prometheus/tsdb/wlog
Bryan Boreham 34230bb172 tsdb/wlog: close segment files sooner
'defer' runs at the end of the whole function; we should close each
segment file as soon as we finished reading it.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-01-31 12:12:19 +00:00
..
checkpoint.go tsdb/wlog: use Go standard errors package 2023-11-08 21:41:58 +00:00
checkpoint_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
live_reader.go tsdb/wlog: use Go standard errors package 2023-11-08 21:41:58 +00:00
reader.go tsdb/wlog: use Go standard errors package 2023-11-08 21:41:58 +00:00
reader_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
watcher.go tsdb/wlog: close segment files sooner 2024-01-31 12:12:19 +00:00
watcher_test.go tsdb/wlog: close segment files sooner 2024-01-31 12:12:19 +00:00
wlog.go tsdb: use Go standard errors 2023-12-11 12:18:54 +00:00
wlog_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00