VictoriaMetrics/app/victoria-logs
Aliaksandr Valialkin 9e5e514faf
lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop()
Previously the was a race condition when the background goroutine still could try collecting metrics
from already stopped resources after returning from pushmetrics.Stop().
Now the pushmetrics.Stop() waits until the background goroutine is stopped before returning.

This is a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5549
and the commit fe2d9f6646 .

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5548
2024-01-16 21:18:22 +02:00
..
deployment app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
multiarch app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
main.go lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 21:18:22 +02:00
Makefile app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00