prometheus/tsdb/wlog
Bryan Boreham 6ed56c9f04 WAL watcher: improve comments
Clarify in the first comment that it is `watch()` that waits, and reduce
verbiage.

The second comment was slightly contradictory to the first and otherwise
didn't seem to add much, since `currentSegment` was incremented just a
few lines later.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-22 09:32:46 +00:00
..
checkpoint.go tsdb/wlog: use Go standard errors package 2023-11-08 21:41:58 +00:00
checkpoint_test.go Standardise exemplar label as "trace_id" 2024-02-15 14:20:08 +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 tests: remove err from message when testify prints it already 2024-02-01 14:18:01 +00:00
watcher.go WAL watcher: improve comments 2024-02-22 09:32:46 +00:00
watcher_test.go tsdb/wlog tests: remove unnecessary sleep check 2024-02-22 09:14:52 +00:00
wlog.go tsdb: use Go standard errors 2023-12-11 12:18:54 +00:00
wlog_test.go Refactor tsdb tests to use testify. 2024-01-31 16:03:17 +00:00