VictoriaMetrics/vendor
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
..
cloud.google.com/go vendor: run make vendor-update 2023-12-11 10:48:47 +02:00
github.com lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 21:18:22 +02:00
go.opencensus.io vendor: make vendor-update 2022-11-05 10:40:30 +02:00
go.opentelemetry.io vendor: run make vendor-update 2023-12-13 00:35:37 +02:00
go.uber.org vendor: run make vendor-update 2023-10-31 20:20:07 +01:00
golang.org/x vendor: run make vendor-update 2023-12-11 10:48:47 +02:00
google.golang.org vendor: run make vendor-update 2023-12-13 00:35:37 +02:00
gopkg.in vmctl: support of the remote read protocol (#3232) 2022-11-29 21:08:47 -08:00
modules.txt lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 21:18:22 +02:00