VictoriaMetrics/app/victoria-metrics
Aliaksandr Valialkin fc42900eca
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 23:18:29 +02:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:23:50 +02:00
multiarch all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
test tests: attempt to fix flaky graphite test (#3567) 2022-12-29 11:48:47 -08:00
testdata tests: attempt to fix flaky graphite test (#3567) 2022-12-29 11:48:47 -08:00
main.go lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:18:29 +02:00
main_test.go lib/netutil: init implimentation of proxy protocol (#3687) 2023-01-26 23:08:35 -08:00
Makefile all: add Windows build for VictoriaMetrics 2023-03-19 01:36:51 -07:00
self_scraper.go Makefile: run errcheck for all the app/... subdirs 2022-09-30 18:35:53 +03:00