VictoriaMetrics/app
Zakhar Bessarab 7925e9698f
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>
(cherry picked from commit ce7141383d)
2023-06-09 10:40:52 +02:00
..
vmagent app/vmagent/remotewrite: fix vmagent panic on shutdown (#4407) 2023-06-09 10:40:52 +02:00
vmalert vmalert: fix nil map assignment (#4392) 2023-06-02 13:29:51 +02:00
vmauth app/vmauth: allow -auth.config without users section of unauthorized_user section is present here 2023-05-18 09:44:07 -07:00
vmbackup fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vmbackupmanager docs: fix markdown for title 2023-06-02 13:28:04 +02:00
vmctl app/vmctl: add verbose output for docker installations or when TTY isn't available (#4333) 2023-06-09 10:39:38 +02:00
vmgateway fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vminsert cluster: standardize default HTTP responses (#4368) 2023-06-01 10:26:52 +02:00
vmrestore fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vmselect app/{graphite,netstorage,prometheus}: fix graphite search tags api limits, remove redudant limit from SeriesHandler handler (#4352) 2023-06-09 10:39:12 +02:00
vmstorage cluster: standardize default HTTP responses (#4368) 2023-06-01 10:26:52 +02:00
vmui app/vmui: fix behavior when changing url in global settings (#4332) 2023-06-02 13:29:46 +02:00