VictoriaMetrics/app
Artem Fetishev ed5da38ede
Introduce a flag for limiting the number of time series to delete (#7091)
### Describe Your Changes

Introduce the `-search.maxDeleteSeries` flag that limits the number of
time series that can be deleted with a single
`/api/v1/admin/tsdb/delete_series` call.

Currently, any number can be deleted and if the number is big (millions)
then the operation may result in unaccounted CPU and memory usage spikes
which in some cases may result in OOM kill (see #7027). The flag limits
the number to 30k by default and the users may override it if needed at
the vmstorage start time.


---------

Signed-off-by: Artem Fetishev <rtm@victoriametrics.com>
Co-authored-by: Nikolay <nik@victoriametrics.com>
2024-09-30 10:02:21 +02:00
..
victoria-logs app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
victoria-metrics app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vlinsert app/vlinsert: support unix timestamps in seconds and milliseconds in JSON stream data ingestion API 2024-09-28 21:56:50 +02:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 13:52:13 +02:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 25a9802ca4 and 8657d03433 2024-09-27 13:50:47 +02:00
vlstorage vendor: update github.com/VictoriaMetrics/metrics from v1.34.1 to v1.35.0 2024-07-15 10:43:37 +02:00
vmagent stream aggregation: support configuring multiple labels per `remoteWrite… (#7073) 2024-09-27 12:21:09 +02:00
vmalert app/vmalert: mention labels conflict resolution strategy (#7085) 2024-09-27 14:41:33 +02:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmauth app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:03:58 +02:00
vmctl Introduce a flag for limiting the number of time series to delete (#7091) 2024-09-30 10:02:21 +02:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:18 +02:00
vminsert app/vminsert: returns back memory optimisation (#6794) 2024-08-13 10:56:33 -04:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmselect Introduce a flag for limiting the number of time series to delete (#7091) 2024-09-30 10:02:21 +02:00
vmstorage Introduce a flag for limiting the number of time series to delete (#7091) 2024-09-30 10:02:21 +02:00
vmui vmui: add link to vmalert (#7088) 2024-09-27 13:22:22 +02:00