mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-05-17 08:36:55 +03:00
Previously, vmctl tried to create a tmp directory in a directory with Prometheus snapshot. This is not always possible as snapshot can be mounted in read-only mode. Use a system default temporary location and allow user to customize the tmp path in order to avoid issues with custom tmp locations. Closes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/9505 Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>