VictoriaMetrics/app
Aliaksandr Valialkin 4c02e496f7 lib/fs: do not postpone directory removal on NFS error
Continue trying to remove NFS directory on temporary errors for up to a minute.

The previous async removal process breaks in the following case during VictoriaMetrics start

- VictoriaMetrics opens index, finds incomplete merge transactions and starts replaying them.
- The transaction instructs removing old directories for parts, which were already merged into bigger part.
- VictoriaMetrics removes these directories, but their removal is delayed due to NFS errors.
- VictoriaMetrics scans partition directory after all the incomplete merge transactions are finished
  and finds directories, which should be removed, but weren't still removed due to NFS errors.
- VictoriaMetrics panics when it finds unexpected empty directory.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/162
2019-11-10 13:24:51 +02:00
..
victoria-metrics lib/fs: do not postpone directory removal on NFS error 2019-11-10 13:24:51 +02:00
vmbackup app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots 2019-11-08 21:21:07 +02:00
vminsert all: make fmt 2019-10-17 20:04:34 +03:00
vmrestore app/vmrestore: the upcoming release would be 1.29.0 2019-11-10 00:20:41 +02:00
vmselect app/vmselect/promql: adjust memory limits calculations for incremental aggregate functions 2019-11-08 21:21:07 +02:00
vmstorage lib/storage: implement per-day inverted index 2019-11-10 00:02:46 +02:00