VictoriaMetrics/docs/changelog
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
..
_index.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG.md app/vmauth: properly check for backend health before leastLoaded policy (#7489) 2024-11-08 11:45:16 +01:00
CHANGELOG_2020.md docs: spelling fixes (#7420) 2024-11-05 16:44:23 +01:00
CHANGELOG_2021.md docs: spelling fixes (#7420) 2024-11-05 16:44:23 +01:00
CHANGELOG_2022.md docs: spelling fixes (#7420) 2024-11-05 16:44:23 +01:00
CHANGELOG_2023.md docs: spelling fixes (#7420) 2024-11-05 16:44:23 +01:00