VictoriaMetrics/lib/fs
pludov f8fbd4c116
lib/fs: support NFS implementations that return EEXIST instead of ENOTEMPTY (#6398)
### Describe Your Changes

Fix for issue #6396: according to rmdir manpage, ENOTEMPTY and EEXIST
should be treated equally

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6396

### Checklist

The following checks are **mandatory**:

- [x ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Co-authored-by: Ludovic Pollet <ludovic.pollet@exfo.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 3ddae77c63)
2024-06-04 15:43:03 +02:00
..
dir_remover.go lib/fs: support NFS implementations that return EEXIST instead of ENOTEMPTY (#6398) 2024-06-04 15:43:03 +02:00
fadvise_darwin.go app/vmselect/promql: follow-up for ce4f26db02 2024-01-16 22:19:04 +02:00
fadvise_openbsd.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
fadvise_unix.go all: add go:build lines for Go1.17 2021-07-26 15:48:21 +03:00
fs.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_nix.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_openbsd.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_solaris.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_test.go app/vmauth: follow-up for 13368bed18 2021-12-02 23:32:05 +02:00
fs_unix.go lib/fs: use unix.Statfs() / unix.Statvfs() when using a path (#3663) 2023-01-17 21:19:26 -08:00
fs_windows.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
reader_at.go lib/fs: add ReaderAt.Path() function 2023-06-19 22:42:27 -07:00
reader_at_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
reader_at_timing_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00