VictoriaMetrics/app
Aliaksandr Valialkin aac3dccfd1
lib/fs: replace MkdirAllIfNotExist->MustMkdirIfNotExist and MkdirAllFailIfExist->MustMkdirFailIfExist
Callers of these functions log the returned error and then exit. The returned error already contains the path
to directory, which was failed to be created. So let's just log the error together with the call stack
inside these functions. This leaves the debuggability of the returned error at the same level
while allows simplifying the code at callers' side.

While at it, properly use MustMkdirFailIfExist instead of MustMkdirIfNotExist inside inmemoryPart.MustStoreToDisk().
It is expected that the inmemoryPart.MustStoreToDick() must fail if there is already a directory under the given path.
2023-04-13 22:22:08 -07:00
..
vmagent lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:54:10 -07:00
vmalert app/vmalert: update Grafana URLs to match latest format (#4061) 2023-04-05 13:31:06 -07:00
vmauth docs/vmauth.md: follow-up for 36edba9bfb 2023-03-24 17:56:59 -07:00
vmbackup app/{vmbackup,vmrestore}: publish vmbackup and vmrestore binaries for Windows 2023-03-25 15:09:41 -07:00
vmbackupmanager app/vmbackupmanager: sync with enterprise-single-node branch after 41a54c775891c87e3d5ed59ff0769c869dd2fe71 2023-04-13 19:38:28 -07:00
vmctl app/vmctl/terminal: fix builds for GOOS=freebsd and GOOS=openbsd 2023-04-06 17:09:20 -07:00
vmgateway app/vmgateway: add new flag doc 2023-02-27 11:18:37 -08:00
vminsert lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:54:10 -07:00
vmrestore app/{vmbackup,vmrestore}: publish vmbackup and vmrestore binaries for Windows 2023-03-25 15:09:41 -07:00
vmselect lib/fs: replace MkdirAllIfNotExist->MustMkdirIfNotExist and MkdirAllFailIfExist->MustMkdirFailIfExist 2023-04-13 22:22:08 -07:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 20:42:22 -07:00
vmui vmui: heatmap fixes (#4086) 2023-04-06 15:11:26 -07:00