VictoriaMetrics/app
Aliaksandr Valialkin 036a7b7365
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:11:59 -07:00
..
victoria-metrics lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmagent lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmalert app/vmalert: update Grafana URLs to match latest format (#4061) 2023-04-04 15:25:29 +04:00
vmauth docs/vmauth.md: follow-up for 36edba9bfb 2023-03-24 13:22:37 -07:00
vmbackup app/{vmbackup,vmrestore}: publish vmbackup and vmrestore binaries for Windows 2023-03-25 15:08:21 -07:00
vmbackupmanager app/vmbackupmanager: sync with enterprise-single-node branch after 41a54c775891c87e3d5ed59ff0769c869dd2fe71 2023-04-13 19:29:06 -07:00
vmctl app/vmctl/terminal: fix builds for GOOS=freebsd and GOOS=openbsd 2023-04-06 17:09:07 -07:00
vmgateway app/vmgateway: add new flag doc 2023-02-27 11:18:34 -08:00
vminsert lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmrestore app/{vmbackup,vmrestore}: publish vmbackup and vmrestore binaries for Windows 2023-03-25 15:08:21 -07:00
vmselect lib/fs: replace MkdirAllIfNotExist->MustMkdirIfNotExist and MkdirAllFailIfExist->MustMkdirFailIfExist 2023-04-13 22:11:59 -07:00
vmstorage app/vmstorage: deprecate -bigMergeConcurrency command-line flag 2023-04-13 20:40:24 -07:00
vmui vmui: heatmap fixes (#4086) 2023-04-06 15:02:44 -07:00