VictoriaMetrics/app/victoria-logs
Aliaksandr Valialkin be509b3995
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-15 13:50:36 +02:00
..
deployment app/victoria-logs: initial code release 2023-06-19 22:55:12 -07:00
multiarch app/victoria-logs: initial code release 2023-06-19 22:55:12 -07:00
main.go lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
Makefile app/victoria-logs: initial code release 2023-06-19 22:55:12 -07:00