VictoriaMetrics/app
Roman Khavronenko a0a154511a
app/vmauth: properly check for backend health before leastLoaded policy (#7489)
Previously, vmauth could have pick `buMin` as least loaded backend
without checking its status. In result, vmauth could have respond to the
user with an error even if there were healthy backends. That could
happen if healthy backends already had non-zero amount of concurrent
requests executing at the moment of least-loaded backend choosing logic.

Steps to reproduce:
1. Setup vmauth with two backends: healthy and non-healthy
2. Execute a bunch of concurrent requests against vmauth (i.e. Grafana
dash reload)
3. Observe that some requests will fail with message that all backends
are unavailable

Addresses https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3061
---
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-11-08 11:45:16 +01:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-13 22:20:31 +02:00
victoria-metrics app/victoria-metrics: fixes flaky e2e graphite test 2024-10-31 19:53:40 +01:00
vlinsert app/vlinsert/loki: follow-up for 3aeb1b96a2 2024-11-06 19:23:38 +01:00
vlogscli app/vlogscli: print hint on how to see available commands when starting vlogscli 2024-10-29 16:44:46 +01: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/vlselect/vmui: run make vmui-logs-update after 1e1952acf5 2024-11-06 19:47:28 +01:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 13:47:48 +02:00
vmagent vmagent: fix type of command-line flag -streamAggr.dedupInterval (#7081) 2024-10-17 13:27:59 +02:00
vmalert vmalert: integrate with victorialogs (#7255) 2024-10-29 16:30:39 +01:00
vmalert-tool vmalert-tool: set default interval for unittest input_series (#7392) 2024-10-31 14:04:50 +01:00
vmauth app/vmauth: properly check for backend health before leastLoaded policy (#7489) 2024-11-08 11:45:16 +01: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 vmctl: fixed import duplicate data when query result contains multiple series (#7330) 2024-11-06 13:53:49 +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:18 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:48:40 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
vmselect app/vmselect: fixes graphite function transformRemoveEmptySeries 2024-11-06 17:35:59 +01:00
vmstorage Revert "lib/mergeset: add sparse indexdb cache (#7269)" 2024-11-04 10:29:14 -03:00
vmui vmui/logs: add log sorting (#7344) 2024-11-06 19:33:35 +01:00