VictoriaMetrics/app
Roman Khavronenko 470c82919e
vminsert: properly reset labels object on aggregation (#4278)
Without reset, labels duplicates could have been added during stream aggregation.
Since `ctx.Labels` is reused during processing of many series, each series will
add its labels to the context. Even if the same labels were already addeded on prev
iteration. Now, we reset `ctx.Labels` on each iteration to contain so labels from
different series didn't interfere.

This could have cause exceeding of the limit on number of labels per pushed time series.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4277

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-05-09 23:05:53 -07:00
..
victoria-metrics all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmagent all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmalert vmalert: fix API to return non-nil values (#4222) 2023-05-08 21:49:13 -07:00
vmauth all: follow-up for 7a3e16e774 2023-03-12 01:16:58 -08:00
vmbackup app/vmbackup: simplify code a bit after 5ba347bd2c 2023-03-24 22:19:55 -07:00
vmbackupmanager doc: add vmbackupmanager monitoring section (#3605) 2023-01-05 16:03:06 +01:00
vmctl app/vmctl: skip series if measurement not found (#3869) 2023-02-27 12:04:39 -08:00
vmgateway docs: update command-line descriptions after 73256fe438 2023-01-27 00:00:37 -08:00
vminsert vminsert: properly reset labels object on aggregation (#4278) 2023-05-09 23:05:53 -07:00
vmrestore all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:01:32 -08:00
vmselect vmselect: exit early from queue on context cancel (#4223) 2023-05-08 22:58:36 -07:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 23:40:40 -07:00
vmui all: update Go builder from Go1.20.3 to Go1.20.4 2023-05-09 22:34:21 -07:00