VictoriaMetrics/app
Andrei Baidarov 3120dc2054
app/vmselect: fixes possible panics for multitenant queries
This commit fixes panic for multitenant requests and empty storage node responses for tenants api.

 It also optimizes `populateSqTenantTokensIfNeeded` function calls, by making it only once for query request. Previously it was incorrectly called multiple times per each storage node request.

Related issue: 
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7549
---------
Signed-off-by: f41gh7 <nik@victoriametrics.com>
Co-authored-by: f41gh7 <nik@victoriametrics.com>
2024-11-15 16:12:30 +01:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-15 11:49:31 +02:00
vlinsert app/vlinsert/loki: show the original request body on parse errors 2024-11-14 17:21:27 +01:00
vlogscli app/vlogscli: allow toggling wrapping long lines with \wrap_long_lines command 2024-11-14 17:21:25 +01:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
vlselect app/vlselect/logsql: add an ability to delay returning matching logs from live tailing via offset query arg 2024-11-08 17:07:57 +01:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmagent vmagent: fix type of command-line flag -streamAggr.dedupInterval (#7081) 2024-10-17 11:11:46 -03:00
vmalert app/vmalert: fix flaky ut TestRecordingRule_Exec 2024-11-14 18:21:20 +01:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmauth app/vmauth: properly inherit user-level options at url_map when url_prefix isnt set at the user level 2024-11-14 17:21:32 +01:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +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:04:39 +02:00
vmctl app/vmctl: add command-line flag list to doc 2024-11-14 18:21:15 +01: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:53 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:51:48 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmselect app/vmselect: fixes possible panics for multitenant queries 2024-11-15 16:12:30 +01:00
vmstorage Revert "lib/mergeset: add sparse indexdb cache (#7269)" 2024-11-04 10:33:22 -03:00
vmui deployment: update Go builder from Go1.23.1 to Go1.23.3 2024-11-14 17:21:28 +01:00