VictoriaMetrics/app
Aliaksandr Valialkin 41bdf087a6
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:40:35 +02:00
..
victoria-metrics lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmagent lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmalert lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmauth lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmbackup lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl vendor: run make vendor-update 2023-12-10 13:54:09 +02:00
vmgateway docs: update command-line descriptions after 73256fe438 2023-01-27 00:00:37 -08:00
vminsert lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-17 13:54:50 +02:00
vmrestore lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:40:35 +02:00
vmselect app/vmselect/promql: simplify the code after 388d020b7c 2024-01-16 22:37:03 +02:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 23:40:40 -07:00
vmui deployment/docker: update base Docker image from alpine:3.18.5 to alpine:3.19.0 2023-12-10 02:30:04 +02:00