prometheus/tsdb/wlog
Callum Styan 0c71230784
fix bug that would cause us to endlessly fall behind (#13583)
* fix bug that would cause us to only read from the WAL on the 15s
fallback timer if remote write had fallen behind and is no longer
reading from the WAL segment that is currently being written to

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* remove unintended logging, fix lint, plus allow test to take slightly
longer because cloud CI

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* address review feedback

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* fix watcher sleeps in test, flu brain is smooth

Signed-off-by: Callum Styan <callumstyan@gmail.com>

* increase timeout, unfortunately cloud CI can require a longer timeout

Signed-off-by: Callum Styan <callumstyan@gmail.com>

---------

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2024-02-21 17:09:07 -08: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 fix bug that would cause us to endlessly fall behind (#13583) 2024-02-21 17:09:07 -08:00
watcher_test.go fix bug that would cause us to endlessly fall behind (#13583) 2024-02-21 17:09:07 -08: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