VictoriaMetrics/app
Zakhar Bessarab ce7141383d
app/vmagent/remotewrite: fix vmagent panic on shutdown (#4407)
app/vmagent/remotewrite: fix vmagent panic on shutdown

Currently, when vmagent is stopping it first flushes pending series in remote write context and proceeds to stop streaming aggregation. This leads to streaming aggregation being unable to write results into pending timeseries (since it is already nil) and panic.
This can lead to losing some aggregation results being lost almost silently.

The fix is reordering flow to first stop streaming aggregation and flush all pending time series after that.

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2023-06-07 15:45:43 +02:00
..
victoria-metrics lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmagent app/vmagent/remotewrite: fix vmagent panic on shutdown (#4407) 2023-06-07 15:45:43 +02:00
vmalert vmalert: fix nil map assignment (#4392) 2023-06-02 11:38:55 +02:00
vmauth app/vmauth: allow -auth.config without users section of unauthorized_user section is present here 2023-05-18 10:41:34 -07:00
vmbackup fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmbackupmanager docs: fix markdown for title 2023-05-29 22:22:25 +02:00
vmctl app/vmctl: add verbose output for docker installations or when TTY isn't available (#4333) 2023-06-02 14:57:08 +02:00
vmgateway fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vminsert fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmrestore fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmselect app/{graphite,netstorage,prometheus}: fix graphite search tags api limits, remove redudant limit from SeriesHandler handler (#4352) 2023-06-02 14:34:04 +02:00
vmstorage fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmui app/vmui: fix behavior when changing url in global settings (#4332) 2023-06-01 12:19:03 +03:00