VictoriaMetrics/app
Aliaksandr Valialkin 3023b68d42
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:17:58 +02:00
..
victoria-logs lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vlinsert app/vlinsert/elasticsearch: add a command-line flag to provide ES version (#4778) 2023-08-11 06:57:01 -07:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 86f1459ca6 2023-08-11 07:01:15 -07:00
vlstorage app/vlstorage: expose vl_data_size_bytes metric at /metrics page for tracking the on-disk data size (both indexdb and the data itself) 2023-07-31 07:56:16 -07:00
vmagent lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmalert lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmauth lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmbackup lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmbackupmanager lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 13:17:20 +02:00
vmctl vmctl: retry requests that failed in the very end for vm-native (#5475) 2023-12-17 19:27:02 +02:00
vmgateway lib/license: cleanups and prettifications for log messages and docs related to licensing 2023-10-16 13:17:20 +02:00
vminsert lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmrestore lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmselect lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmstorage lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-16 23:17:58 +02:00
vmui deployment/docker: update base Docker image from alpine:3.18.5 to alpine:3.19.0 2023-12-10 02:29:08 +02:00