VictoriaMetrics/app/vminsert
Aliaksandr Valialkin 5f52eb7653 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:27:16 +02:00
..
common app/vminsert: add ability to ingest data via HTTP OpenTSDB /api/put requests 2019-08-22 12:46:54 +03:00
concurrencylimiter all: return 503 http error if service is temporarily unavailable 2019-08-23 09:49:50 +03:00
deployment all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
graphite all: make fmt 2019-10-17 20:05:12 +03:00
influx app/vminsert/influx: set db label only if Influx line doesnt have db tag 2019-08-24 13:55:01 +03:00
netstorage app/vminsert/netstorage: mention the data size that cannot be sent to vmstorage 2019-09-25 12:53:41 +03:00
opentsdb app/vminsert: skip empty tags 2019-08-24 13:36:41 +03:00
opentsdbhttp app/vminsert/opentsdbhttp: remove FATAL prefix from logger.Fatalf errors for the sake of consistency with other logger.Fatalf calls 2019-09-19 22:16:11 +03:00
prometheus app/vminsert: add vm_rows_per_insert summary metric 2019-07-27 13:28:20 +03:00
main.go lib/fs: do not postpone directory removal on NFS error 2019-11-10 13:27:16 +02:00
Makefile all: small updates after PR #114 2019-07-24 17:43:43 +03:00
README.md all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00

vminsert routes the ingested data to vmstorage nodes.