VictoriaMetrics/lib/persistentqueue
Aliaksandr Valialkin a7678350ad
lib/fs: convert CreateFlockFile to MustCreateFlockFile
Callers of CreateFlockFile log the returned err and exit.
It is better to log the error inside the MustCreateFlockFile together with the path
to the specified directory and the call stack. This simplifies
the code at the callers' side while leaving the debuggability at the same level.
2023-04-14 19:51:52 -07:00
..
fastqueue.go lib/persistentqueue: typo fix after aea6df8197 2023-03-27 20:05:51 -07:00
fastqueue_test.go all: fix golangci-lint issues 2020-03-10 19:40:03 +02:00
fastqueue_timing_test.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00
filenames.go lib/{fs,persistentqueue}: use filepath.Join() instead of concatenating path parts with / 2023-04-13 20:14:07 -07:00
persistentqueue.go lib/fs: convert CreateFlockFile to MustCreateFlockFile 2023-04-14 19:51:52 -07:00
persistentqueue_test.go lib/{fs,persistentqueue}: use filepath.Join() instead of concatenating path parts with / 2023-04-13 20:14:07 -07:00
persistentqueue_timing_test.go lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:51 +03:00